/in/foo.cc: In function 'long int dfs(long int, long int, long int, long int, long int)':
/in/foo.cc:16:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(m==0&&v==maxv)
^~
/in/foo.cc:18:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(m==0)
^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:36:3: error: 'cin' was not declared in this scope
cin>>maxv>>m;
^~~
/in/foo.cc:59:3: error: 'cout' was not declared in this scope
cout<<ans;
^~~~