aliens.cpp: In function 'bool query(Point)':
aliens.cpp:16:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("examine %d %d\n", p.x, p.y);
~~~ ^
aliens.cpp:16:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'll {aka long long int}' [-Wformat=]
aliens.cpp: In function 'void answer(Point)':
aliens.cpp:26:37: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("solution %d %d\n", p.x, p.y);
~~~ ^
aliens.cpp:26:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'll {aka long long int}' [-Wformat=]
aliens.cpp: In function 'int main()':
aliens.cpp:42:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
ll mid=lo+hi>>1;
~~^~~
aliens.cpp:51:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
ll mid=lo+hi>>1;
~~^~~
aliens.cpp:57:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
if(!query({l+r>>1, S.y})) MM=(r-l+1)/3;
~^~
aliens.cpp:64:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=S.x; i<N; i++) if(!query({i+1, S.y})) break; r=i;
^~~
aliens.cpp:64:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(i=S.x; i<N; i++) if(!query({i+1, S.y})) break; r=i;
^
aliens.cpp:65:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=S.x; i>1; i--) if(!query({i-1, S.y})) break; l=i;
^~~
aliens.cpp:65:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(i=S.x; i>1; i--) if(!query({i-1, S.y})) break; l=i;
^
aliens.cpp:68:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=S.y; i<N; i++) if(!query({S.x, i+1})) break; r=i;
^~~
aliens.cpp:68:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(i=S.y; i<N; i++) if(!query({S.x, i+1})) break; r=i;
^
aliens.cpp:69:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=S.y; i>1; i--) if(!query({S.x, i-1})) break; l=i;
^~~
aliens.cpp:69:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(i=S.y; i>1; i--) if(!query({S.x, i-1})) break; l=i;
^
aliens.cpp:33:8: warning: unused variable 'j' [-Wunused-variable]
ll i, j;
^
aliens.cpp: In function 'bool query(Point)':
aliens.cpp:20:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", t);
~~~~~^~~~~~~~~
aliens.cpp: In function 'int main()':
aliens.cpp:35:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &N, &S.x, &S.y);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~