game.cpp: In function 'void updateIt(int, int, int, int, int, int, long long int)':
game.cpp:30:11: error: too few arguments to function 'void updateIt(int, int, int, int, int, int, long long int)'
30 | updateIt(r1, r2, L, mid, position, value);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
game.cpp:21:6: note: declared here
21 | void updateIt(int r1, int r2, int index, int L, int R, int position, long long value) {
| ^~~~~~~~
game.cpp:31:11: error: too few arguments to function 'void updateIt(int, int, int, int, int, int, long long int)'
31 | updateIt(r1, r2, mid + 1, R, position, value);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
game.cpp:21:6: note: declared here
21 | void updateIt(int r1, int r2, int index, int L, int R, int position, long long value) {
| ^~~~~~~~
game.cpp: In function 'void init(int, int)':
game.cpp:57:12: error: cannot resolve overloaded function 'index' based on conversion to type 'int'
57 | build(r1, r2, index, 0, C - 1);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
game.cpp: In function 'void update(int, int, long long int)':
game.cpp:73:15: error: too few arguments to function 'void updateIt(int, int, int, int, int, int, long long int)'
73 | updateIt(r1, r2, 1, 0, m - 1, Q);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
game.cpp:21:6: note: declared here
21 | void updateIt(int r1, int r2, int index, int L, int R, int position, long long value) {
| ^~~~~~~~