aliens.cpp: In function 'long long int Ask(long long int, long long int)':
aliens.cpp:11:30: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("examine %i %i\n",x,y);
^
aliens.cpp:11:30: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
aliens.cpp: In function 'void Answer(long long int, long long int)':
aliens.cpp:20:31: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("solution %i %i\n",x,y);
^
aliens.cpp:20:31: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
aliens.cpp: In function 'int main()':
aliens.cpp:27:29: warning: format '%i' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%i %i %i",&n,&x0,&y0);
~~ ^
aliens.cpp:27:29: warning: format '%i' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
aliens.cpp:27:29: warning: format '%i' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
aliens.cpp:30:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
for(mi=lo+hi+1>>1;lo<hi;mi=lo+hi+1>>1)
~~~~~^~
aliens.cpp:30:34: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
for(mi=lo+hi+1>>1;lo<hi;mi=lo+hi+1>>1)
~~~~~^~
aliens.cpp:37:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
for(mi=lo+hi+1>>1;lo<hi;mi=lo+hi+1>>1)
~~~~~^~
aliens.cpp:37:34: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
for(mi=lo+hi+1>>1;lo<hi;mi=lo+hi+1>>1)
~~~~~^~
aliens.cpp:44:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
for(mi=lo+hi+1>>1;lo<hi;mi=lo+hi+1>>1)
~~~~~^~
aliens.cpp:44:34: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
for(mi=lo+hi+1>>1;lo<hi;mi=lo+hi+1>>1)
~~~~~^~
aliens.cpp:51:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
for(mi=lo+hi+1>>1;lo<hi;mi=lo+hi+1>>1)
~~~~~^~
aliens.cpp:51:34: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
for(mi=lo+hi+1>>1;lo<hi;mi=lo+hi+1>>1)
~~~~~^~
aliens.cpp:56:6: warning: unused variable 'x1' [-Wunused-variable]
int x1=x0-lo,y1=y0+lo;
^~
aliens.cpp:56:15: warning: unused variable 'y1' [-Wunused-variable]
int x1=x0-lo,y1=y0+lo;
^~
aliens.cpp: In function 'long long int Ask(long long int, long long int)':
aliens.cpp:14:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",o);
~~~~~^~~~~~~~
aliens.cpp: In function 'int main()':
aliens.cpp:27:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i %i",&n,&x0,&y0);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~