icc.cpp: In function 'bool query(std::vector<int>&, std::vector<int>&)':
icc.cpp:19:42: error: no matching function for call to 'query(std::vector<int>::size_type, std::vector<int>::size_type, std::vector<int>&, std::vector<int>&)'
return query(a.size(), b.size(), a, b);
^
In file included from icc.cpp:4:0:
icc.h:10:5: note: candidate: int query(int, int, int*, int*)
int query(int a, int b, int *A, int *B);
^~~~~
icc.h:10:5: note: no known conversion for argument 3 from 'std::vector<int>' to 'int*'
icc.cpp:18:6: note: candidate: bool query(std::vector<int>&, std::vector<int>&)
bool query(vector <int> &a, vector <int> &b){
^~~~~
icc.cpp:18:6: note: candidate expects 2 arguments, 4 provided
icc.cpp: In function 'void find(std::vector<int>&, std::vector<int>&)':
icc.cpp:36:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = siz; i < a.size(); i++) x.push_back(a[i]);
~~^~~~~~~~~~