foo.cc: In function 'int getint()':
foo.cc:23:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while((c<'0' || c>'9') && c!='-') c=getchar(); if(c=='-') q=1,c=getchar();
^~~~~
foo.cc:23:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
while((c<'0' || c>'9') && c!='-') c=getchar(); if(c=='-') q=1,c=getchar();
^~
foo.cc:24:1: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (c>='0' && c<='9') w=w*10+c-'0', c=getchar(); return q ? -w : w;
^~~~~
foo.cc:24:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
while (c>='0' && c<='9') w=w*10+c-'0', c=getchar(); return q ? -w : w;
^~~~~~
[Hydro](https://hydro.ac)提供评测服务