icc.cpp: In function 'void run(long long int)':
icc.cpp:47:50: error: cannot convert '__gnu_cxx::__alloc_traits<std::allocator<std::vector<long long int> >, std::vector<long long int> >::value_type' {aka 'std::vector<long long int>'} to 'long long int*'
47 | c = query(s[0].size(), s[1].size(), s[0], s[1]);
| ^
| |
| __gnu_cxx::__alloc_traits<std::allocator<std::vector<long long int> >, std::vector<long long int> >::value_type {aka std::vector<long long int>}
In file included from icc.cpp:12:
icc.h:10:30: note: initializing argument 3 of 'long long int query(long long int, long long int, long long int*, long long int*)'
10 | int query(int a, int b, int *A, int *B);
icc.cpp:54:38: error: cannot convert 'std::vector<long long int>' to 'long long int*'
54 | c = query(ns.size(), s[1].size(), ns, s[1]);
| ^~
| |
| std::vector<long long int>
In file included from icc.cpp:12:
icc.h:10:30: note: initializing argument 3 of 'long long int query(long long int, long long int, long long int*, long long int*)'
10 | int query(int a, int b, int *A, int *B);
icc.cpp:65:36: error: cannot convert '__gnu_cxx::__alloc_traits<std::allocator<std::vector<long long int> >, std::vector<long long int> >::value_type' {aka 'std::vector<long long int>'} to 'long long int*'
65 | c = query(1, ns.size(), s[0], ns);
| ^
| |
| __gnu_cxx::__alloc_traits<std::allocator<std::vector<long long int> >, std::vector<long long int> >::value_type {aka std::vector<long long int>}
In file included from icc.cpp:12:
icc.h:10:30: note: initializing argument 3 of 'long long int query(long long int, long long int, long long int*, long long int*)'
10 | int query(int a, int b, int *A, int *B);