Problem oranges2
User AlphanumericUsername
Submission Time 2023-06-23 16:00:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

oranges2.cpp: In function ‘long long int lca(long long int, long long int)’:
oranges2.cpp:109:13: error: ‘cur’ was not declared in this scope
109 | a = mem[cur][i];
| ^~~
oranges2.cpp: In function ‘int32_t main()’:
oranges2.cpp:143:14: error: ‘x’ was not declared in this scope
143 | if (find(x) != find(y)) {
| ^
oranges2.cpp:143:25: error: ‘y’ was not declared in this scope
143 | if (find(x) != find(y)) {
| ^