/in/foo.cc: In function 'void solve()':
/in/foo.cc:44:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(len=0;(1<<len)<=lim;len++);lim=(1<<len);len--;
^~~
/in/foo.cc:44:40: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(len=0;(1<<len)<=lim;len++);lim=(1<<len);len--;
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:68:64: error: expected '}' at end of input
{scanf("%d",&T);for(int z=1;z<=T;z++){solve();clear();}return 0;//拜拜程序~}
^