/in/foo.cc: In function 'bool check(int)':
/in/foo.cc:27:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ddg[u&65535]!=u>>16){
~~~~~~~~~~~~^~~~~~~
/in/foo.cc:31:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if((u>>16)>=mid)break;
~~~~~~~^~~~~
/in/foo.cc:41:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ddg[u&65535]!=u>>16)continue;
~~~~~~~~~~~~^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:58:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
const int mid=l+r>>1;
~^~
/in/foo.cc:62:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d",q1.size());
^
/in/foo.cc:63:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i:q1)printf(" %d",i);putchar('\n');
^~~
/in/foo.cc:63:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i:q1)printf(" %d",i);putchar('\n');
^~~~~~~
/in/foo.cc:75:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d",q1.size());
^
/in/foo.cc:76:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i:q1)printf(" %d",i);putchar('\n');
^~~
/in/foo.cc:76:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i:q1)printf(" %d",i);putchar('\n');
^~~~~~~