Problem smurfpaths
User wilson9304
Submission Time 2026-02-26 23:50:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

smurfpaths.cpp: In function ‘int main()’:
smurfpaths.cpp:181:45: error: too many arguments to function ‘int query(int, int, int)’
181 | int left = query(1, 1, n, 1, y-1);
| ^
smurfpaths.cpp:123:5: note: declared here
123 | int query(int v, int ql, int qr) {
| ^~~~~
smurfpaths.cpp:183:44: error: too many arguments to function ‘int query(int, int, int)’
183 | int right = query(1, 1, n, y, n);
| ^
smurfpaths.cpp:123:5: note: declared here
123 | int query(int v, int ql, int qr) {
| ^~~~~