Problem mountain
User PlayVoltz
Submission Time 2023-12-11 11:06:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mountain.cpp: In member function ‘long long int node::query(long long int)’:
mountain.cpp:87:34: error: expected primary-expression before ‘return’
87 | if (r==nullptr)l->propagate(), return l->query(num);
| ^~~~~~
mountain.cpp:88:34: error: expected primary-expression before ‘return’
88 | if (l==nullptr)r->propagate(), return r->query(num);
| ^~~~~~