/in/foo.cc: In function 'void newnode(int&, int, int)':
/in/foo.cc:65:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
same[x]=fz[tot]=son[x][0]=son[x][1]=0;
~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc: In function 'void bt(int&, int, int, int)':
/in/foo.cc:68:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (l>r)return;int mid=(l+r)/2;
^~
/in/foo.cc:68:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (l>r)return;int mid=(l+r)/2;
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:82:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100]' [-Wformat=]
scanf("%s",&ch);
^
/in/foo.cc:94:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
}else if (ch[0]=='M') if (ch[2]=='K'){//改
^