Problem hunter
User Henries
Submission Time 2025-01-28 16:50:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

hunter.cpp:3:1: error: ‘vector’ does not name a type
3 | vector<vector<long long>> adjlist;
| ^~~~~~
hunter.cpp:4:1: error: ‘vector’ does not name a type
4 | vector<pair<long long,long long>> v;
| ^~~~~~
hunter.cpp:5:1: error: ‘vector’ does not name a type
5 | vector<long long> order;
| ^~~~~~
hunter.cpp:6:1: error: ‘vector’ does not name a type
6 | vector<long long> order2;
| ^~~~~~
hunter.cpp: In function ‘void dfs(long long int, long long int)’:
hunter.cpp:9:15: error: ‘adjlist’ was not declared in this scope
9 | for(auto x : adjlist[u]){
| ^~~~~~~
hunter.cpp:14:4: error: ‘order’ was not declared in this scope
14 | order.push_back(x);
| ^~~~~
hunter.cpp:17:4: error: ‘order2’ was not declared in this scope
17 | order2.push_back(x);
| ^~~~~~
hunter.cpp: In function ‘void hunter(int, int, int