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