Problem | manycolours |
---|---|
User | haydendoo |
Submission Time | 2023-02-14 20:26:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
manycolours.cpp: In function ‘void solve()’:
manycolours.cpp:380:26: error: redeclaration of ‘long long int anc’
380 | int anc=lca(a, b);int anc=lca(a, b); assert(anc!=a && anc!=b); //assert(in[anc]<=min(in[a], in[b]));
| ^~~
manycolours.cpp:380:8: note: ‘long long int anc’ previously declared here
380 | int anc=lca(a, b);int anc=lca(a, b); assert(anc!=a && anc!=b); //assert(in[anc]<=min(in[a], in[b]));
| ^~~