icc.cpp: In function 'void run(int)':
icc.cpp:32:23: error: cannot convert 'std::vector<int>' to 'int'
32 | if (query(l, r))
| ^
| |
| std::vector<int>
In file included from icc.cpp:1:
icc.h:10:15: note: initializing argument 1 of 'int query(int, int, int*, int*)'
10 | int query(int a, int b, int *A, int *B);
| ~~~~^
icc.cpp:50:27: error: cannot convert 'std::vector<int>' to 'int'
50 | if (query(l, r))
| ^
| |
| std::vector<int>
In file included from icc.cpp:1:
icc.h:10:15: note: initializing argument 1 of 'int query(int, int, int*, int*)'
10 | int query(int a, int b, int *A, int *B);
| ~~~~^
icc.cpp:63:28: error: cannot convert 'std::vector<int>' to 'int'
63 | if (!query(l, r))
| ^
| |
| std::vector<int>
In file included from icc.cpp:1:
icc.h:10:15: note: initializing argument 1 of 'int query(int, int, int*, int*)'
10 | int query(int a, int b, int *A, int *B);
| ~~~~^
icc.cpp:77:35: error: too few arguments to function 'int query(int, int, int*, int*)'
77 | if (query({x}, {y}))
| ^
In file included from icc.cpp:1:
icc.h:10:5: note: declared here
10 | int query(int a, int b, int *A, int *B);
| ^~~~~