In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++allocator.h:33:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:46,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_37757360_5939.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h: In instantiation of 'struct __gnu_cxx::new_allocator<int(int, int, int)>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/allocator.h:92:11: required from 'class std::allocator<int(int, int, int)>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:85:43: required from 'struct std::allocator_traits<std::allocator<int(int, int, int)> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10: required from 'struct __gnu_cxx::__alloc_traits<std::allocator<int(int, int, int)> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28: required from 'struct std::_Vector_base<int(int, int, int), std::allocator<int(int, int, int)> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11: required from 'class std::vector<int(int, int, int)>'
0_0_37757360_5939.cpp:11:32: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h:93:7: error: 'const _Tp* __gnu_cxx::new_allocator<_Tp>::address(__gnu_cxx::new_allocator<_Tp>::const_reference) const [with _Tp = int(int, int, int); __gnu_cxx::new_allocator<_Tp>::const_pointer = int (*)(int, int, int); __gnu_cxx::new_allocator<_Tp>::const_reference = int (&)(int, int, int)]' cannot be overloaded
address(const_reference __x) const _GLIBCXX_NOEXCEPT
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/new_allocator.h:89:7: error: with '_Tp* __gnu_cxx::new_allocator<_Tp>::address(__gnu_cxx::new_allocator<_Tp>::reference) const [with _Tp = int(int, int, int); __gnu_cxx::new_allocator<_Tp>::pointer = int (*)(int, int, int); __gnu_cxx::new_allocator<_Tp>::reference = int (&)(int, int, int)]'
address(reference __x) const _GLIBCXX_NOEXCEPT
^
0_0_37757360_5939.cpp: In function 'void solve()':
0_0_37757360_5939.cpp:11:56: error: no matching function for call to 'std::vector<int(int, int, int)>::vector(int, std::vector<int>)'
vector<int(int,int,int)> dp(2*n+1,vector<int>(2,-1));
^
0_0_37757360_5939.cpp:11:56: 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_37757360_5939.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:401:9: note: template<class _InputIterator, class> std::vector<_Tp, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&)
vector(_InputIterator __first, _InputIterator __last,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:401:9: note: template argument deduction/substitution failed:
0_0_37757360_5939.cpp:11:56: note: deduced conflicting types for parameter '_InputIterator' ('int' and 'std::vector<int>')
vector<int(int,int,int)> dp(2*n+1,vector<int>(2,-1));
^
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_37757360_5939.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:373:7: note: std::vector<_Tp, _Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = int(int, int, int); _Alloc = std::allocator<int(int, int, int)>; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<int(int, int, int)>]
vector(initializer_list<value_type> __l,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:373:7: note: no known conversion for argument 1 from 'int' to 'std::initializer_list<int(int, int, int)>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:348:7: note: std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>&&, const allocator_type&) [with _Tp = int(int, int, int); _Alloc = std::allocator<int(int, int, int)>; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<int(int, int, int)>]
vector(vector&& __rv, const allocator_type& __m)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:348:7: note: no known conversion for argument 1 from 'int' to 'std::vector<int(int, int, int)>&&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:339:7: note: std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&, const allocator_type&) [with _Tp = int(int, int, int); _Alloc = std::allocator<int(int, int, int)>; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<int(int, int, int)>]
vector(const vector& __x, const allocator_type& __a)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:339:7: note: no known conversion for argument 1 from 'int' to 'const std::vector<int(int, int, int)>&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:335:7: note: std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>&&) [with _Tp = int(int, int, int); _Alloc = std::allocator<int(int, int, int)>]
vector(vector&& __x) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:335:7: note: candidate expects 1 argument, 2 provided
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:318:7: note: std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = int(int, int, int); _Alloc = std::allocator<int(int, int, int)>]
vector(const vector& __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:318:7: note: candidate expects 1 argument, 2 provided
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:289:7: note: std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = int(int, int, int); _Alloc = std::allocator<int(int, int, int)>; std::vector<_Tp, _Alloc>::size_type = long long unsigned int; std::vector<_Tp, _Alloc>::value_type = int(int, int, int); std::vector<_Tp, _Alloc>::allocator_type = std::allocator<int(int, int, int)>]
vector(size_type __n, const value_type& __value,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:289:7: note: no known conversion for argument 2 from 'std::vector<int>' to 'int (&)(int, int, int)'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:277:7: note: std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const allocator_type&) [with _Tp = int(int, int, int); _Alloc = std::allocator<int(int, int, int)>; std::vector<_Tp, _Alloc>::size_type = long long unsigned int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<int(int, int, int)>]
vector(size_type __n, const allocator_type& __a = allocator_type())
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:277:7: note: no known conversion for argument 2 from 'std::vector<int>' to 'const allocator_type& {aka const std::allocator<int(int, int, int)>&}'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:264:7: note: std::vector<_Tp, _Alloc>::vector(const allocator_type&) [with _Tp = int(int, int, int); _Alloc = std::allocator<int(int, int, int)>; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<int(int, int, int)>]
vector(const allocator_type& __a) _GLIBCXX_NOEXCEPT
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:264:7: note: candidate expects 1 argument, 2 provided
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:253:7: note: std::vector<_Tp, _Alloc>::vector() [with _Tp = int(int, int, int); _Alloc = std::allocator<int(int, int, int)>]
vector()
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:253:7: note: candidate expects 0 a
|