Main.cpp: In function 'int main()':
Main.cpp:68:39: error: no matching function for call to 'std::vector<long long int>::insert(ll&)'
68 | hh[(a%k + k)%k].insert(a);
| ~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from /usr/include/c++/11/vector:67,
from /usr/include/c++/11/functional:62,
from /usr/include/c++/11/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/11/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65,
from Main.cpp:1:
/usr/include/c++/11/bits/stl_vector.h:1379:9: note: candidate: 'template<class _InputIterator, class> std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::const_iterator, _InputIterator, _InputIterator) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _Tp = long long int; _Alloc = std::allocator<long long int>]'
1379 | insert(const_iterator __position, _InputIterator __first,
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:1379:9: note: template argument deduction/substitution failed:
Main.cpp:68:39: note: candidate expects 3 arguments, 1 provided
68 | hh[(a%k + k)%k].insert(a);
| ~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from /usr/include/c++/11/vector:72,
from /usr/include/c++/11/functional:62,
from /usr/include/c++/11/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/11/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65,
from Main.cpp:1:
/usr/include/c++/11/bits/vector.tcc:130:5: note: candidate: 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::const_iterator, const value_type&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::vector<_Tp, _Alloc>::iterator = std::vector<long long int>::iterator; std::vector<_Tp, _Alloc>::const_iterator = std::vector<long long int>::const_iterator; std::vector<_Tp, _Alloc>::value_type = long long int]'
130 | vector<_Tp, _Alloc>::
| ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/vector.tcc:130:5: note: candidate expects 2 arguments, 1 provided
In file included from /usr/include/c++/11/vector:67,
from /usr/include/c++/11/functional:62,
from /usr/include/c++/11/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/11/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:65,
from Main.cpp:1:
/usr/include/c++/11/bits/stl_vector.h:1293:7: note: candidate: 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::const_iterator, std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::vector<_Tp, _Alloc>::iterator = std::vector<long long int>::iterator; std::vector<_Tp, _Alloc>::const_iterator = std::vector<long long int>::const_iterator; std::vector<_Tp, _Alloc>::value_type = long long int]'
1293 | insert(const_iterator __position, value_type&& __x)
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:1293:7: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/11/bits/stl_vector.h:1310:7: note: candidate: 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::const_iterator, std::initializer_list<_Tp>) [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::vector<_Tp, _Alloc>::iterator = std::vector<long long int>::iterator; std::vector<_Tp, _Alloc>::const_iterator = std::vector<long long int>::const_iterator]'
1310 | insert(const_iterator __position, initializer_list<value_type> __l)
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:1310:7: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/11/bits/stl_vector.h:1335:7: note: candidate: 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::const_iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::vector<_Tp, _Alloc>::iterator = std::vector<long long int>::iterator; std::vector<_Tp, _Alloc>::const_iterator = std::vector<long long int>::const_iterator; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = long long int]'
1335 | insert(const_iterator __position, size_type __n, const value_type& __x)
| ^~~~~~
/usr/include/c++/11/bits/stl_vector.h:1335:7: note: candidate expects 3 arguments, 1 provided