icc.cpp: In function 'void run(int)':
icc.cpp:29:28: error: invalid conversion from 'int' to 'int*' [-fpermissive]
29 | if(query(1, 1, {i}, {j})) {
| ^
| |
| int
In file included from icc.cpp:1:
icc.h:10:30: note: initializing argument 3 of 'int query(int, int, int*, int*)'
10 | int query(int a, int b, int *A, int *B);
| ~~~~~^
icc.cpp:29:28: error: invalid conversion from 'int' to 'int*' [-fpermissive]
29 | if(query(1, 1, {i}, {j})) {
| ^
| |
| int
In file included from icc.cpp:1:
icc.h:10:38: note: initializing argument 4 of 'int query(int, int, int*, int*)'
10 | int query(int a, int b, int *A, int *B);
| ~~~~~^