Problem catteams
User justin271828
Submission Time 2025-04-03 23:33:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catteams.cpp: In member function ‘int node::q(int, int)’:
catteams.cpp:31:48: error: expected ‘;’ before ‘}’ token
31 | else return max(l->q(x, y), r->q(x, y))
| ^
| ;
32 | }
| ~
catteams.cpp: At global scope:
catteams.cpp:35:1: error: expected initializer before ‘int’
35 | int main() {
| ^~~