Colors.cpp: In function 'int query(ll)':
Colors.cpp:12:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("? %d\n", x);
^
Colors.cpp: In function 'int main()':
Colors.cpp:44:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<V2.size(); i++) if(query(V2[i])) break;
~^~~~~~~~~~
Colors.cpp:28:8: warning: unused variable 'j' [-Wunused-variable]
ll i, j;
^
Colors.cpp: In function 'int query(ll)':
Colors.cpp:15:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &t);
~~~~~^~~~~~~~~~~~
Colors.cpp: In function 'int main()':
Colors.cpp:30:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &N);
~~~~~^~~~~~~~~~~~