Problem wheelofmisfortune
User ricric132
Submission Time 2023-12-10 19:56:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wheelofmisfortune.cpp: In function ‘int main()’:
wheelofmisfortune.cpp:51:5: error: expected initializer before ‘unordered_set’
51 | unordered_set<int> v;
| ^~~~~~~~~~~~~
wheelofmisfortune.cpp:52:12: error: ‘v’ was not declared in this scope
52 | dfs(1, v, ans, n, k, adj);
| ^
wheelofmisfortune.cpp:52:15: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
52 | dfs(1, v, ans, n, k, adj);
| ^~~
| abs