Problem omnomnom2
User benji9736
Submission Time 2025-12-17 16:42:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

omnomnom2.cpp: In function ‘void dfs(long long int, long long int)’:
omnomnom2.cpp:19:12: error: ‘v’ was not declared in this scope
19 | dfs2(i, v);
| ^
omnomnom2.cpp:19:4: error: ‘dfs2’ was not declared in this scope; did you mean ‘dfs’?
19 | dfs2(i, v);
| ^~~~
| dfs
omnomnom2.cpp: In function ‘int main()’:
omnomnom2.cpp:36:15: error: expected primary-expression before ‘;’ token
36 | for (int i = ; i < n; i++){
| ^
omnomnom2.cpp:40:2: error: ‘dfs2’ was not declared in this scope; did you mean ‘dfs’?
40 | dfs2(0, -1);
| ^~~~
| dfs