Problem | universe |
---|---|
User | cobnet |
Submission Time | 2025-08-05 12:38:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
universe.cpp: In function ‘void dfs(int, int, int, int)’:
universe.cpp:38:36: error: too few arguments to function ‘void dfs(int, int, int, int)’
38 | dfs(neighbour, node, consecutive);
| ^
universe.cpp:19:6: note: declared here
19 | void dfs(int node, int parent, int consecutive, int kk){
| ^~~
universe.cpp: In function ‘int main()’:
universe.cpp:54:22: error: ‘n’ was not declared in this scope
54 | for (int i = 0; i < n - 1; ++i) {
| ^
universe.cpp:65:14: error: too few arguments to function ‘void dfs(int, int, int, int)’
65 | dfs(0, -1, 0);
| ^
universe.cpp:19:6: note: declared here
19 | void dfs(int node, int parent, int consecutive, int kk){
| ^~~