0_0_38072346_6209.cpp: In function 'void dfs(int, int)':
0_0_38072346_6209.cpp:11:24: error: 'max' was not declared in this scope
ans=max(ans,sum);
^
0_0_38072346_6209.cpp: In function 'int main()':
0_0_38072346_6209.cpp:26:5: error: 'ios' has not been declared
ios::sync_with_stdio(false);
^
0_0_38072346_6209.cpp:31:5: error: 'cin' was not declared in this scope
cin>>T;
^
0_0_38072346_6209.cpp:37:9: error: 'cout' was not declared in this scope
cout<<"Case #"<<cas++<<": "<<ans<<endl;
^
0_0_38072346_6209.cpp:37:43: error: 'endl' was not declared in this scope
cout<<"Case #"<<cas++<<": "<<ans<<endl;
^
|