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:222:15: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
222 | insert(y,s);
| ~~~~~~^~~~~
foo.cc:223:20: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
223 | lab:writeln(kth(k));
| ~~~~~~~^~~~~~~~
foo.cc:222:15: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
222 | insert(y,s);
| ~~~~~~^~~~~
foo.cc:221:12: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
221 | del(x,s);
| ~~~^~~~~
foo.cc:212:15: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
212 | insert(x,1);
| ~~~~~~^~~~~
foo.cc:207:9: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
207 | int n,m;
| ^
foo.cc:207:11: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
207 | int n,m;
| ^
[Hydro](https://hydro.ac)提供评测服务