Problem examinations
User PlayVoltz
Submission Time 2023-12-10 17:48:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

examinations.cpp: In member function ‘void node::up(long long int, long long int)’:
examinations.cpp:52:45: error: no matching function for call to ‘node::up(std::ios_base& (&)(std::ios_base&), std::ios_base& (&)(std::ios_base&), long long int&)’
52 | if (id<=m)createl(), l->up(left, right, v);
| ^
examinations.cpp:48:7: note: candidate: ‘void node::up(long long int, long long int)’
48 | void up(int id, int v){
| ^~
examinations.cpp:48:7: note: candidate expects 2 arguments, 3 provided
examinations.cpp:53:49: error: no matching function for call to ‘node::up(std::ios_base& (&)(std::ios_base&), std::ios_base& (&)(std::ios_base&), long long int&)’
53 | else if (id>m)creater(), r->up(left, right, v);
| ^
examinations.cpp:48:7: note: candidate: ‘void node::up(long long int, long long int)’
48 | void up(int