0_0_30492651_18307.cpp:40:34: error: redefinition of 'int l'
int query(int id,int l,int r,int l, int r, int k) {
^
0_0_30492651_18307.cpp:40:22: note: 'int l' previously declared here
int query(int id,int l,int r,int l, int r, int k) {
^
0_0_30492651_18307.cpp:40:41: error: redefinition of 'int r'
int query(int id,int l,int r,int l, int r, int k) {
^
0_0_30492651_18307.cpp:40:28: note: 'int r' previously declared here
int query(int id,int l,int r,int l, int r, int k) {
^
0_0_30492651_18307.cpp: In function 'int query(int, int, int, int)':
0_0_30492651_18307.cpp:50:49: error: too many arguments to function 'int query(int, int, int, int)'
cans = min(cans, query(id * 2, l, mid, l, r, k));
^
0_0_30492651_18307.cpp:40:5: note: declared here
int query(int id,int l,int r,int l, int r, int k) {
^
0_0_30492651_18307.cpp:56:55: error: too many arguments to function 'int query(int, int, int, int)'
cans = min(cans, query(id * 2+1, mid + 1, r, l, r, k));
^
0_0_30492651_18307.cpp:40:5: note: declared here
int query(int id,int l,int r,int l, int r, int k) {
^
0_0_30492651_18307.cpp: In function 'void mainwork()':
0_0_30492651_18307.cpp:82:45: error: too many arguments to function 'int query(int, int, int, int)'
int re = query(1, 1,n+1,pos + 1, n + 1, k);
^
0_0_30492651_18307.cpp:40:5: note: declared here
int query(int id,int l,int r,int l, int r, int k) {
^
|