Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:28:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(k==1) k=0; int cnt=0; ^~ /in/foo.cc:28:16: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(k==1) k=0; int cnt=0; ^~~