Problem dynamicdag
User huubinh1717
Submission Time 2024-01-08 00:56:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dynamicdag.cpp: In function ‘bool reachable(int, int)’:
dynamicdag.cpp:29:10: error: too many arguments to function ‘void dfs(int)’
29 | dfs(s, v);
| ^
dynamicdag.cpp:18:6: note: declared here
18 | void dfs(int v) {
| ^~~