0_0_36766115_22321.cpp: In function 'void update_up(int*, int&, int)':
0_0_36766115_22321.cpp:37:25: error: too many arguments to function 'void up(int*, int)'
up(a, cnt, p);
^
0_0_36766115_22321.cpp:8:6: note: declared here
void up(int a[], int pos) {
^
|