Accepted
/in/foo.cc: In function 'void print()':
/in/foo.cc:17:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;i++)
  ^~~
/in/foo.cc:19:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    cout<<endl;  
    ^~~~
/in/foo.cc: In function 'int dfs(int)':
/in/foo.cc:33:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^