0_0_32263649_21982.cpp: In function 'void dfs(int, int, int, int)':
0_0_32263649_21982.cpp:14:35: error: 'max' was not declared in this scope
if(a==amount) {maxv=max(maxv,v);return;}
^
0_0_32263649_21982.cpp: In function 'int main()':
0_0_32263649_21982.cpp:30:5: error: 'cin' was not declared in this scope
cin>>T;
^
0_0_32263649_21982.cpp:34:33: error: 'memset' was not declared in this scope
memset(vis,0,sizeof(vis));
^
0_0_32263649_21982.cpp:45:9: error: 'cout' was not declared in this scope
cout<<maxv<<endl;
^
0_0_32263649_21982.cpp:45:21: error: 'endl' was not declared in this scope
cout<<maxv<<endl;
^
|