Wrong Answer
/in/foo.cc: In function 'void dfs(int)':
/in/foo.cc:14:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
      for(int i=1;i<=n;i++)
      ^~~
/in/foo.cc:16:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   cout<<endl;
   ^~~~