icc.cpp: In function 'void run(int)':
icc.cpp:47:37: error: invalid conversion from 'int' to 'int*' [-fpermissive]
47 | bool flag = query(1, 1, {i}, {j});
| ^
| |
| int
In file included from icc.cpp:6:
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:47:37: error: invalid conversion from 'int' to 'int*' [-fpermissive]
47 | bool flag = query(1, 1, {i}, {j});
| ^
| |
| int
In file included from icc.cpp:6:
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);
| ~~~~~^