/in/foo.cc: In function 'int main()':
/in/foo.cc:19:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (!D[i]) q.push(i);tmp=n;
^~
/in/foo.cc:19:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (!D[i]) q.push(i);tmp=n;
^~~
/in/foo.cc:18:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=1;i<=n;i++)
^~~
/in/foo.cc:19:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if (!D[i]) q.push(i);tmp=n;
^~~
/in/foo.cc:23:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j<G[now].size();j++){
~^~~~~~~~~~~~~~