Problem sherlockinversions
User Josh28acc2
Submission Time 2024-01-27 17:50:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sherlockinversions.cpp: In function ‘void solve()’:
sherlockinversions.cpp:193:43: error: too many arguments to function ‘void update(long long int, long long int)’
193 | update(arr[lptr], arr[lptr], 1);
| ^
sherlockinversions.cpp:140:6: note: declared here
140 | void update(int x, int v) {
| ^~~~~~
sherlockinversions.cpp:198:43: error: too many arguments to function ‘void update(long long int, long long int)’
198 | update(arr[rptr], arr[rptr], 1);
| ^
sherlockinversions.cpp:140:6: note: declared here
140 | void update(int x, int v) {
| ^~~~~~
sherlockinversions.cpp:202:44: error: too many arguments to function ‘void update(long long int, long long int)’
202 | update(arr[lptr], arr[lptr], -1);
| ^
sherlockinversions.cpp:140:6: no