icc.cpp: In function 'void separation(std::vector<int>, std::vector<int>&, std::vector<int>&)':
icc.cpp:64:21: error: 'ua' was not declared in this scope; did you mean 'a'?
64 | }while(!query((int)ua.size(), (int)ub.size(), ua, ub))
| ^~
| a
icc.cpp:64:37: error: 'ub' was not declared in this scope; did you mean 'b'?
64 | }while(!query((int)ua.size(), (int)ub.size(), ua, ub))
| ^~
| b
icc.cpp:64:56: error: expected ';' before '}' token
64 | }while(!query((int)ua.size(), (int)ub.size(), ua, ub))
| ^
| ;
65 | }
| ~
icc.cpp: In function 'int findvertex(std::vector<int>, std::vector<int>)':
icc.cpp:79:45: error: cannot convert 'std::vector<int>' to 'int*'
79 | if(query((int)lh.size(), (int)stat.size(), lh, stat)){
| ^~
| |
| std::vector<int>
In file included from icc.cpp:19:
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:71:14: warning: control reaches end of non-void function [-Wreturn-type]
71 | vector<int> lh;
| ^~