Problem graphcraft
User jeongwonho64
Submission Time 2023-06-04 10:14:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

graphcraft.cpp: In function ‘bool dfs(int)’:
graphcraft.cpp:12:18: error: ‘v’ was not declared in this scope
12 | recstack[v] = true;
| ^
graphcraft.cpp:15:55: error: too many arguments to function ‘bool dfs(int)’
15 | if(!vis[x.first] && dfs(x.first, vis, recstack)){
| ^
graphcraft.cpp:9:6: note: declared here
9 | bool dfs(int i){
| ^~~