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:17: error: 'x' was not declared in this scope
72 | if (x != 0 && y != 0 && query(a.size(), b.size(), a, b))
| ^
icc.cpp:72:27: error: 'y' was not declared in this scope
72 | if (x != 0 && y != 0 && query(a.size(), b.size(), a, b))
| ^
icc.cpp:72:63: error: cannot convert 'std::vector<int>' to 'int*'
72 | if (x != 0 && y != 0 && 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);
| ~~~~~^
icc.cpp:78:13: error: 'x' was not declared in this scope
78 | x = 1;
| ^
icc.cpp:83:13: error: 'y' was not declared in this scope
83 | y = 1;
| ^