Problem | treecutting |
---|---|
User | Rolo |
Submission Time | 2024-10-02 15:18:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
treecutting.cpp: In function ‘bool dfs3(int, int, int)’:
treecutting.cpp:52:18: error: ‘dfs’ was not declared in this scope; did you mean ‘dfs3’?
52 | check[v] = dfs(a,i,v);
| ^~~
| dfs3
treecutting.cpp: In function ‘int dfs4(int, int)’:
treecutting.cpp:61:19: error: expected ‘)’ before ‘{’ token
61 | for(int i : g[v]{
| ~ ^
| )
treecutting.cpp:63:36: error: ‘dfs’ was not declared in this scope; did you mean ‘dfs4’?
63 | if (!check[v]&& !p) dp3[v] = 1 + dfs(i,v);
| ^~~
| dfs4
treecutting.cpp:67:19: error: expected ‘)’ before ‘{’ token
67 | for(int i : g[v]{
| ~ ^
| )
treecutting.cpp:69:36: error: ‘dfs’ was not declared in this scope; did you mean ‘dfs4’?
69 | if (!check[v]&& !p) dp3[v]