0_0_33550880_26807.cpp: In function 'int main()':
0_0_33550880_26807.cpp:57:36: error: no matching function for call to 'std::vector<std::vector<int> >::assign(int&, std::vector<long long int>)'
t.assign(n,vector<long long>(5,0));
^
0_0_33550880_26807.cpp:57:36: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_33550880_26807.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:488:7: note: void std::vector<_Tp, _Alloc>::assign(std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = std::vector<int>; _Alloc = std::allocator<std::vector<int> >; std::vector<_Tp, _Alloc>::size_type = long long unsigned int; std::vector<_Tp, _Alloc>::value_type = std::vector<int>]
assign(size_type __n, const value_type& __val)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:488:7: note: no known conversion for argument 2 from 'std::vector<long long int>' to 'const value_type& {aka const std::vector<int>&}'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:507:9: note: 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<int>; _Alloc = std::allocator<std::vector<int> >]
assign(_InputIterator __first, _InputIterator __last)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:507:9: note: template argument deduction/substitution failed:
0_0_33550880_26807.cpp:57:36: note: deduced conflicting types for parameter '_InputIterator' ('int' and 'std::vector<long long int>')
t.assign(n,vector<long long>(5,0));
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
from 0_0_33550880_26807.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:533:7: note: void std::vector<_Tp, _Alloc>::assign(std::initializer_list<_Tp>) [with _Tp = std::vector<int>; _Alloc = std::allocator<std::vector<int> >]
assign(initializer_list<value_type> __l)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:533:7: note: candidate expects 1 argument, 2 provided
|