icc.cpp: In function 'int Cal(std::vector<int>&, std::vector<int>&)':
icc.cpp:49:39: error: cannot convert 'std::vector<int>' to 'int*'
49 | if (query(c.size(), b.size(), c, b))
| ^
| |
| std::vector<int>
In file included from icc.cpp:35:
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:72:71: error: cannot convert 'std::vector<int>' to 'int*'
72 | if (!a.empty() && !b.empty() && query(a.size(), b.size(), a, b))
| ^
| |
| std::vector<int>
In file included from icc.cpp:35:
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);
| ~~~~~^