/in/foo.cc: In function 'void others(int)':
/in/foo.cc:45:21: warning: array subscript has type 'char' [-Wchar-subscripts]
{sta[pai[p][i].s[1]]+=zhuan(pai[p][i].s[0]);
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:235:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (status[j][h][0]>status[0][h][0]||status[j][h][0]==status[0][h][0]&&status[j][h][1]>status[0][h][1]) rank++;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:251:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
else if (status[h][j][0]==8)
^
/in/foo.cc: In function 'int zhuan(char)':
/in/foo.cc:22:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.cc: In function 'int zhuan1(char)':
/in/foo.cc:32:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.cc: In function 'void others(int)':
/in/foo.cc:126:44: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
status[p][dun][0]=5;status[p][dun][1]=(k-1)*4+i;dun--;
~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:211:25: warning: 'num' may be used uninitialized in this function [-Wmaybe-uninitialized]
cin>>pai[i][j].s;int num;
^~~