/in/foo.cc: In function 'int getint()':
/in/foo.cc:23:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(c=='-') q=1,c=getchar(); while (c>='0'&&c<='9') w=w*10+c-'0',c=getchar(); return q?-w:w;
^~
/in/foo.cc:23:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(c=='-') q=1,c=getchar(); while (c>='0'&&c<='9') w=w*10+c-'0',c=getchar(); return q?-w:w;
^~~~~
/in/foo.cc: In function 'void work()':
/in/foo.cc:28:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++) Q[0][i]=getint(); sort(Q[0]+1,Q[0]+n+1,cmp); tag=0; head[0]=head[1]=head[2]=1; tail[0]=n; tail[1]=tail[2]=0;
^~~
/in/foo.cc:28:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(int i=1;i<=n;i++) Q[0][i]=getint(); sort(Q[0]+1,Q[0]+n+1,cmp); tag=0; head[0]=head[1]=head[2]=1; tail[0]=n; tail[1]=tail[2]=0;
^~~~