icc.cpp: In function 'void subsets(std::vector<std::vector<bool> >&, int)':
icc.cpp:14:40: error: invalid conversion from 'int' to 'int*' [-fpermissive]
14 | if (query(1, (int)sub2.size(), sub1, sub2)){
| ^~~~
| |
| int
icc.cpp:14:46: error: cannot convert 'std::vector<int>' to 'int*'
14 | if (query(1, (int)sub2.size(), sub1, sub2)){
| ^~~~
| |
| std::vector<int>
In file included from icc.cpp:2:
icc.h:10:38: note: initializing argument 4 of 'int query(int, int, int*, int*)'
10 | int query(int a, int b, int *A, int *B);
| ~~~~~^
icc.cpp:21:47: error: invalid conversion from 'int' to 'int*' [-fpermissive]
21 | if (query(1, (int)opt.size(), sub1, opt)) r = m;
| ^~~~
| |
| int
icc.cpp:21:53: error: cannot convert 'std::vector<int>' to 'int*'
21 | if (query(1, (int)opt.size(), sub1, opt)) r = m;
| ^~~
| |
| std::vector<int>
In file included from icc.cpp:2:
icc.h:10:38: note: initializing argument 4 of 'int query(int, int, int*, int*)'
10 | int query(int a, int b, int *A, int *B);
| ~~~~~^