Problem oranges2
User justin271828
Submission Time 2024-12-18 16:41:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

oranges2.cpp: In function ‘int main()’:
oranges2.cpp:19:3: error: ‘v’ was not declared in this scope
19 | v.push_back({w, {a, b}});}
| ^
oranges2.cpp:39:30: error: expected ‘}’ at end of input
39 | else roots[x1] = roots[x2];}
| ^
oranges2.cpp:11:12: note: to match this ‘{’
11 | int main() {
| ^