icc.cpp: In function 'std::pair<int, int> guess(int)':
icc.cpp:11:41: error: invalid conversion from 'int' to 'int*' [-fpermissive]
11 | if(query(1,1,{i+1},{j+1})) return {i,j};
| ^
| |
| int
In file included from icc.cpp:2:
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:11:41: error: invalid conversion from 'int' to 'int*' [-fpermissive]
11 | if(query(1,1,{i+1},{j+1})) return {i,j};
| ^
| |
| int
In file included from icc.cpp:2:
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);
| ~~~~~^