Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:18:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(j>m) j=1; ^~ /in/foo.cc:19:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' q[j]+=a[i]; ^