icc.cpp: In function 'void run(int)':
icc.cpp:49:42: error: cannot convert 'std::vector<int>' to 'int*'
49 | if(query(fi.size(),se.size(),fi,se)){
| ^~
| |
| std::vector<int>
In file included from icc.cpp:8:
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:62:44: error: cannot convert 'std::vector<int>' to 'int*'
62 | if(query(A.size(),B.size(),A,B)){
| ^
| |
| std::vector<int>
In file included from icc.cpp:8:
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:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | for(int i = a.size()/2;i<a.size();i++){
| ~^~~~~~~~~
icc.cpp:74:44: error: cannot convert 'std::vector<int>' to 'int*'
74 | if(query(A.size(),B.size(),A,B)){
| ^
| |
| std::vector<int>
In file included from icc.cpp:8:
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:83:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | }for(int i = b.size()/2;i<b.size();i++){
| ~^~~~~~~~~
icc.cpp:86:44: error: cannot convert 'std::vector<int>' to 'int*'
86 | if(query(A.size(),B.size(),A,B)){
| ^
| |
| std::vector<int>
In file included from icc.cpp:8:
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:93:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
93 | for(int i = a.size()/2;i<a.size();i++){
| ~^~~~~~~~~
icc.cpp:95:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
95 | }for(int i = b.size()/2;i<b.size();i++){
| ~^~~~~~~~~