Problem | manycolours |
---|---|
User | PlayVoltz |
Submission Time | 2024-01-22 09:07:33 |
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:63:8: error: cannot convert ‘trio’ to ‘long long int’
63 | dfs2(num, node, sum+num.w);
| ^~~
| |
| trio
manycolours.cpp:57:15: note: initializing argument 1 of ‘void dfs2(long long int, long long int, long long int)’
57 | void dfs2(int node, int par, int sum){
| ^