Problem inversions
User YSH2020
Submission Time 2024-12-16 13:29:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

inversions.cpp: In member function ‘void node::up(int, int)’:
inversions.cpp:18:21: error: ‘struct node’ has no member named ‘up_set’
18 | if(p<=m) l->up_set(p,u);
| ^~~~~~
inversions.cpp:19:17: error: ‘struct node’ has no member named ‘up_set’
19 | else r->up_set(p,u);
| ^~~~~~