Problem | artswap |
---|---|
User | OviyanGandhi |
Submission Time | 2024-03-29 12:56:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
artswap.cpp: In function ‘int query(int*, int, int, int, int, int)’:
artswap.cpp:46:45: error: too few arguments to function ‘int query(int*, int, int, int, int, int)’
46 | return combine(query(seg, qr, l, mid, 2*pos), query(seg, qr, mid+1, r, 2*pos+1), seg == bw);
| ^
artswap.cpp:40:5: note: declared here
40 | int query(int seg[], int ql, int qr, int l, int r, int pos){
| ^~~~~
artswap.cpp:46:80: error: too few arguments to function ‘int query(int*, int, int, int, int, int)’
46 | return combine(query(seg, qr, l, mid, 2*pos), query(seg, qr, mid+1, r, 2*pos+1), seg == bw);
| ^
artswap.cpp:40:5: note: declared here
40 | int query(int seg[], int ql, int qr, int l, int r, int pos){
| ^~~~~