icc.cpp: In function 'void run(int)':
icc.cpp:33:57: error: cannot convert 'std::vector<int>' to 'int*'
33 | int q = query((int)a.size(), (int)b.size(), a, b);
| ^
| |
| std::vector<int>
In file included from icc.cpp:7:
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:52:62: error: cannot convert 'std::vector<int>' to 'int*'
52 | int q = query((int)A1.size(), (int)B.size(), A1, B);
| ^~
| |
| std::vector<int>
In file included from icc.cpp:7:
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);
| ~~~~~^