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