foo.cc: In function 'int read()':
foo.cc:11:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
11 | if(ch=='-')w=-1;ch=getchar();
| ^~
foo.cc:11:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
11 | if(ch=='-')w=-1;ch=getchar();
| ^~
foo.cc: In function 'bool read(int&)':
foo.cc:24:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
24 | if(ch=='-')w=-1;ch=getchar();
| ^~
foo.cc:24:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
24 | if(ch=='-')w=-1;ch=getchar();
| ^~
foo.cc: In function 'int main()':
foo.cc:209:15: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
209 | insert(y,s);
| ~~~~~~^~~~~
foo.cc:210:19: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
210 | lab:printf("%d\n",kth(k));
| ~~~~~~^~~~~~~~~~~~~~~
foo.cc:209:15: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
209 | insert(y,s);
| ~~~~~~^~~~~
foo.cc:208:12: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
208 | del(x,s);
| ~~~^~~~~
foo.cc:199:15: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
199 | insert(x,1);
| ~~~~~~^~~~~
foo.cc:194:9: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
194 | int n,m;
| ^
foo.cc:194:11: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
194 | int n,m;
| ^
[Hydro](https://hydro.ac)提供评测服务