Problem hunter
User hht
Submission Time 2022-12-22 10:25:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hunter.cpp:34:9: error: ‘N’ was not declared in this scope
34 | int pre[N];
| ^
hunter.cpp:35:16: error: ‘N’ was not declared in this scope
35 | vector<int>adj[N];
| ^
hunter.cpp: In function ‘void dfs(long long int, long long int)’:
hunter.cpp:39:5: error: ‘pre’ was not declared in this scope
39 | pre[x]=c;
| ^~~
hunter.cpp:41:17: error: ‘adj’ was not declared in this scope
41 | for(auto it:adj[x]){
| ^~~
hunter.cpp: In function ‘void hunter(long long int, long long int, long long int, long long int, std::vector<long long int>, std::vector<long long int>)’:
hunter.cpp:50:9: error: ‘adj’ was not declared in this scope
50 | adj[A[i]].pb(B[i]);
| ^~~
hunter.cpp:55:18: error: ‘pre’ was not declared in this scope
55 | v1.pb(MP(pre[i],i));
| ^~~
hunter.cpp:58:18: error: