/in/foo.cc: In function 'int read()':
/in/foo.cc:11:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(ch=='-')w=-1;ch=getchar();
^~
/in/foo.cc:11:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(ch=='-')w=-1;ch=getchar();
^~
/in/foo.cc: In function 'bool read(int&)':
/in/foo.cc:24:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(ch=='-')w=-1;ch=getchar();
^~
/in/foo.cc:24:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(ch=='-')w=-1;ch=getchar();
^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:209:20: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
insert(y,s);
^
/in/foo.cc:210:19: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
lab:printf("%d\n",kth(k));
~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc:209:20: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
insert(y,s);
^
/in/foo.cc:208:17: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
del(x,s);
^
/in/foo.cc:199:20: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
insert(x,1);
^
/in/foo.cc:196:18: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=1;i<=n;i++){
~^~~
/in/foo.cc:202:18: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=1;i<=m;i++){
~^~~