icc.cpp: In function 'void run(int)':
icc.cpp:32:38: error: cannot convert 'std::vector<int>' to 'int*'
32 | int x = query(A.size(), B.size(), A, B);
| ^
| |
| std::vector<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:51:38: error: cannot convert 'std::vector<int>' to 'int*'
51 | int x = query(A.size(), B.size(), A, B);
| ^
| |
| std::vector<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:69:38: error: cannot convert 'std::vector<int>' to 'int*'
69 | int x = query(A.size(), B.size(), A, B);
| ^
| |
| std::vector<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:80:38: error: cannot convert 'std::vector<int>' to 'int*'
80 | int x = query(A.size(), B.size(), A, B);
| ^
| |
| std::vector<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);
| ~~~~~^