| Problem | duckhunt35 |
|---|---|
| User | Sans12345 |
| Submission Time | 2025-12-18 01:35:21 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckhunt35.cpp: In function ‘void dfs2(ll, ll, bool)’:
duckhunt35.cpp:38:37: error: too many arguments to function ‘void dfs2(ll, ll, bool)’
38 | dfs2(child,x,first,first);
| ^
duckhunt35.cpp:24:6: note: declared here
24 | void dfs2(ll x,ll p,bool first){
| ^~~~
duckhunt35.cpp: In function ‘int main()’:
duckhunt35.cpp:63:14: error: too few arguments to function ‘void dfs2(ll, ll, bool)’
63 | dfs2(1,-1);
| ^
duckhunt35.cpp:24:6: note: declared here
24 | void dfs2(ll x,ll p,bool first){
| ^~~~