/in/foo.cc: In function 'int main()':
/in/foo.cc:7:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;i++)
^~~
/in/foo.cc:9:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
int a,b;
^~~
/in/foo.cc:25:14: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(shang>=5&&xia<5||shang<5&&xia>=5);
~~~~~~~~^~~~~~~
/in/foo.cc:29:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(zuo>=5&&you<5||zuo<5&&you>=5);
~~~~~~^~~~~~~
/in/foo.cc:33:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(zs>=5&&yx<5||zs<5&&yx>=5);
~~~~~^~~~~~
/in/foo.cc:37:11: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(zs>=5&&ys<5||zs<5&&ys>=5);
~~~~~^~~~~~