Problem | manycolours |
---|---|
User | PlayVoltz |
Submission Time | 2024-01-22 09:06:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
manycolours.cpp: In function ‘void dfs2(long long int, long long int, long long int)’:
manycolours.cpp:61:5: error: ‘c’ was not declared in this scope; did you mean ‘cc’?
61 | ++c[num.c];
| ^
| cc
manycolours.cpp:63:7: error: cannot convert ‘trio’ to ‘long long int’
63 | dfs(num, node, sum+num.w);
| ^~~
| |
| trio
manycolours.cpp:32:14: note: initializing argument 1 of ‘void dfs(long long int, long long int, long long int)’
32 | void dfs(int node, int par, int d){
| ^