Problem doll_noi
User grapecoder
Submission Time 2023-02-25 10:57:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

doll_noi.cpp: In member function ‘void ufds::connect(int, int)’:
doll_noi.cpp:21:33: error: expected ‘;’ before ‘curAns’
21 | curAns -= (size[root_x] + 1)/2
| ^
| ;
22 | curAns -= (size[root_y] + 1)/2;
| ~~~~~~