tickets.cpp: In function 'll find_maximum(int, vvi)':
tickets.cpp:61:32: warning: overflow in conversion from 'double' to 'std::vector<int>::value_type' {aka 'int'} changes value from '-1.0e+18' to '-2147483648' [-Woverflow]
61 | dp.assign(n+1,vi(totBig+1, -1e18));
| ^~~~~
tickets.cpp:61:38: error: no matching function for call to 'std::vector<std::vector<long long int> >::assign(int, vi)'
61 | dp.assign(n+1,vi(totBig+1, -1e18));
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/queue:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from tickets.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:746:7: note: candidate: 'void std::vector<_Tp, _Alloc>::assign(std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = std::vector<long long int>; _Alloc = std::allocator<std::vector<long long int> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = std::vector<long long int>]'
746 | assign(size_type __n, const value_type& __val)
| ^~~~~~
/usr/include/c++/9/bits/stl_vector.h:746:47: note: no known conversion for argument 2 from 'vi' {aka 'std::vector<int>'} to 'const value_type&' {aka 'const std::vector<long long int>&'}
746 | assign(size_type __n, const value_type& __val)
| ~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/9/bits/stl_vector.h:765:2: note: candidate: 'template<class _InputIterator, class> void std::vector<_Tp, _Alloc>::assign(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _Tp = std::vector<long long int>; _Alloc = std::allocator<std::vector<long long int> >]'
765 | assign(_InputIterator __first, _InputIterator __last)
| ^~~~~~
/usr/include/c++/9/bits/stl_vector.h:765:2: note: template argument deduction/substitution failed:
tickets.cpp:61:38: note: deduced conflicting types for parameter '_InputIterator' ('int' and 'std::vector<int>')
61 | dp.assign(n+1,vi(totBig+1, -1e18));
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/queue:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from tickets.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:791:7: note: candidate: 'void std::vector<_Tp, _Alloc>::assign(std::initializer_list<_Tp>) [with _Tp = std::vector<long long int>; _Alloc = std::allocator<std::vector<long long int> >]'
791 | assign(initializer_list<value_type> __l)
| ^~~~~~
/usr/include/c++/9/bits/stl_vector.h:791:7: note: candidate expects 1 argument, 2 provided
tickets.cpp:62:38: error: no matching function for call to 'std::vector<std::vector<long long int> >::assign(int, vi)'
62 | dpOpt.assign(n+1,vi(totBig+1, -1));
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/queue:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from tickets.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:746:7: note: candidate: 'void std::vector<_Tp, _Alloc>::assign(std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = std::vector<long long int>; _Alloc = std::allocator<std::vector<long long int> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = std::vector<long long int>]'
746 | assign(size_type __n, const value_type& __val)
| ^~~~~~
/usr/include/c++/9/bits/stl_vector.h:746:47: note: no known conversion for argument 2 from 'vi' {aka 'std::vector<int>'} to 'const value_type&' {aka 'const std::vector<long long int>&'}
746 | assign(size_type __n, const value_type& __val)
| ~~~~~~~~~~~~~~~~~~^~~~~
/usr/include/c++/9/bits/stl_vector.h:765:2: note: candidate: 'template<class _InputIterator, class> void std::vector<_Tp, _Alloc>::assign(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; <template-parameter-2-2> = <template-parameter-1-2>; _Tp = std::vector<long long int>; _Alloc = std::allocator<std::vector<long long int> >]'
765 | assign(_InputIterator __first, _InputIterator __last)
| ^~~~~~
/usr/include/c++/9/bits/stl_vector.h:765:2: note: template argument deduction/substitution failed:
tickets.cpp:62:38: note: deduced conflicting types for parameter '_InputIterator' ('int' and 'std::vector<int>')
62 | dpOpt.assign(n+1,vi(totBig+1, -1));
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/queue:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from tickets.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:791:7: note: candidate: 'void std::vector<_Tp, _Alloc>::assign(std::initializer_list<_Tp>) [with _Tp = std::vector<long long int>; _Alloc = std::allocator<std::vector<long long int> >]'
791 | assign(initializer_list<value_type> __l)
| ^~~~~~
/usr/include/c++/9/bits/stl_vector.h:791:7: note: candidate expects 1 argument, 2 provided