icc.cpp: In lambda function:
icc.cpp:21:34: error: cannot convert 'std::vector<int>' to 'int*'
21 | return query(sz(a),sz(b),a,b);
| ^
| |
| std::vector<int>
In file included from icc.cpp:2:
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: In function 'void run(int)':
icc.cpp:38:20: error: 'ini' was not declared in this scope; did you mean 'int'?
38 | int m=(ini+fim)/2;
| ^~~
| int
icc.cpp:38:24: error: 'fim' was not declared in this scope; did you mean 'fdim'?
38 | int m=(ini+fim)/2;
| ^~~
| fdim
icc.cpp:51:13: error: redeclaration of 'int ans'
51 | int ans=l;
| ^~~
icc.cpp:34:13: note: 'int ans' previously declared here
34 | int ans=0;
| ^~~
icc.cpp:54:20: error: 'ini' was not declared in this scope; did you mean 'int'?
54 | int m=(ini+fim)/2;
| ^~~
| int
icc.cpp:54:24: error: 'fim' was not declared in this scope; did you mean 'fdim'?
54 | int m=(ini+fim)/2;
| ^~~
| fdim
icc.cpp: In function 'int main()':
icc.cpp:83:5: error: 'solve' was not declared in this scope
83 | solve();
| ^~~~~