Problem duckhunt21
User dooweidde
Submission Time 2025-12-05 13:49:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt21.cpp:12:1: error: expected initializer before ‘void’
12 | void solve(int node, vector<int>&vec, int sum){
| ^~~~
duckhunt21.cpp: In function ‘int main()’:
duckhunt21.cpp:46:4: error: ‘adj’ was not declared in this scope
46 | adj[i].push_back(j);
| ^~~
duckhunt21.cpp:51:3: error: ‘solve’ was not declared in this scope
51 | solve(i, vec, 0);
| ^~~~~