Bankomatas

Taškai: 0

Compile: FAIL

In file included from /usr/include/c++/5/ext/alloc_traits.h:36:0, from /usr/include/c++/5/bits/basic_string.h:40, from /usr/include/c++/5/string:52, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from bankomatas.cpp:9: /usr/include/c++/5/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<int>’: /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:88:43: error: ‘int’ is not a class, struct, or union type typedef typename _Alloc::value_type value_type; ^ /usr/include/c++/5/bits/alloc_traits.h:98:1: error: no matching function for call to ‘std::allocator_traits<int>::_S_pointer_helper(int*)’ _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*) ^ /usr/include/c++/5/bits/alloc_traits.h:98:1: note: candidate: template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = int] _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*) ^ /usr/include/c++/5/bits/alloc_traits.h:98:1: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = int]’: /usr/include/c++/5/bits/alloc_traits.h:98:1: required from ‘struct std::allocator_traits<int>’ /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:98:1: error: ‘int’ is not a class, struct, or union type /usr/include/c++/5/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<int>’: /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:98:1: error: no matching function for call to ‘std::allocator_traits<int>::_S_pointer_helper(int*)’ _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*) ^ /usr/include/c++/5/bits/alloc_traits.h:98:1: note: candidate: template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = int] _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*) ^ /usr/include/c++/5/bits/alloc_traits.h:98:1: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = int]’: /usr/include/c++/5/bits/alloc_traits.h:98:1: required from ‘struct std::allocator_traits<int>’ /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:98:1: error: ‘int’ is not a class, struct, or union type /usr/include/c++/5/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<int>’: /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:107:1: error: no matching function for call to ‘std::allocator_traits<int>::_S_const_pointer_helper(int*)’ _GLIBCXX_ALLOC_TR_NESTED_TYPE(const_pointer, ^ /usr/include/c++/5/bits/alloc_traits.h:107:1: note: candidate: template<class _Tp> static typename _Tp::const_pointer std::allocator_traits<_Alloc>::_S_const_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = int] _GLIBCXX_ALLOC_TR_NESTED_TYPE(const_pointer, ^ /usr/include/c++/5/bits/alloc_traits.h:107:1: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::const_pointer std::allocator_traits<_Alloc>::_S_const_pointer_helper(_Tp*) [with _Tp = int]’: /usr/include/c++/5/bits/alloc_traits.h:107:1: required from ‘struct std::allocator_traits<int>’ /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:107:1: error: ‘int’ is not a class, struct, or union type /usr/include/c++/5/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<int>’: /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:98:1: error: no matching function for call to ‘std::allocator_traits<int>::_S_pointer_helper(int*)’ _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*) ^ /usr/include/c++/5/bits/alloc_traits.h:98:1: note: candidate: template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = int] _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*) ^ /usr/include/c++/5/bits/alloc_traits.h:98:1: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = int]’: /usr/include/c++/5/bits/alloc_traits.h:98:1: required from ‘struct std::allocator_traits<int>’ /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:98:1: error: ‘int’ is not a class, struct, or union type /usr/include/c++/5/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<int>’: /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:118:1: error: no matching function for call to ‘std::allocator_traits<int>::_S_void_pointer_helper(int*)’ _GLIBCXX_ALLOC_TR_NESTED_TYPE(void_pointer, ^ /usr/include/c++/5/bits/alloc_traits.h:118:1: note: candidate: template<class _Tp> static typename _Tp::void_pointer std::allocator_traits<_Alloc>::_S_void_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = int] _GLIBCXX_ALLOC_TR_NESTED_TYPE(void_pointer, ^ /usr/include/c++/5/bits/alloc_traits.h:118:1: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::void_pointer std::allocator_traits<_Alloc>::_S_void_pointer_helper(_Tp*) [with _Tp = int]’: /usr/include/c++/5/bits/alloc_traits.h:118:1: required from ‘struct std::allocator_traits<int>’ /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:118:1: error: ‘int’ is not a class, struct, or union type /usr/include/c++/5/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<int>’: /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:98:1: error: no matching function for call to ‘std::allocator_traits<int>::_S_pointer_helper(int*)’ _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*) ^ /usr/include/c++/5/bits/alloc_traits.h:98:1: note: candidate: template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = int] _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*) ^ /usr/include/c++/5/bits/alloc_traits.h:98:1: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = int]’: /usr/include/c++/5/bits/alloc_traits.h:98:1: required from ‘struct std::allocator_traits<int>’ /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:98:1: error: ‘int’ is not a class, struct, or union type /usr/include/c++/5/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<int>’: /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:129:1: error: no matching function for call to ‘std::allocator_traits<int>::_S_const_void_pointer_helper(int*)’ _GLIBCXX_ALLOC_TR_NESTED_TYPE(const_void_pointer, ^ /usr/include/c++/5/bits/alloc_traits.h:129:1: note: candidate: template<class _Tp> static typename _Tp::const_void_pointer std::allocator_traits<_Alloc>::_S_const_void_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = int] _GLIBCXX_ALLOC_TR_NESTED_TYPE(const_void_pointer, ^ /usr/include/c++/5/bits/alloc_traits.h:129:1: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::const_void_pointer std::allocator_traits<_Alloc>::_S_const_void_pointer_helper(_Tp*) [with _Tp = int]’: /usr/include/c++/5/bits/alloc_traits.h:129:1: required from ‘struct std::allocator_traits<int>’ /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:129:1: error: ‘int’ is not a class, struct, or union type /usr/include/c++/5/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<int>’: /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:98:1: error: no matching function for call to ‘std::allocator_traits<int>::_S_pointer_helper(int*)’ _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*) ^ /usr/include/c++/5/bits/alloc_traits.h:98:1: note: candidate: template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = _Tp; _Alloc = int] _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*) ^ /usr/include/c++/5/bits/alloc_traits.h:98:1: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::pointer std::allocator_traits<_Alloc>::_S_pointer_helper(_Tp*) [with _Tp = int]’: /usr/include/c++/5/bits/alloc_traits.h:98:1: required from ‘struct std::allocator_traits<int>’ /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:98:1: error: ‘int’ is not a class, struct, or union type /usr/include/c++/5/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<int>’: /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:140:1: error: no matching function for call to ‘std::allocator_traits<int>::_S_difference_type_helper(int*)’ _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type, ^ /usr/include/c++/5/bits/alloc_traits.h:140:1: note: candidate: template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = int] _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type, ^ /usr/include/c++/5/bits/alloc_traits.h:140:1: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = int]’: /usr/include/c++/5/bits/alloc_traits.h:140:1: required from ‘struct std::allocator_traits<int>’ /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:140:1: error: ‘int’ is not a class, struct, or union type /usr/include/c++/5/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<int>’: /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:140:1: error: no matching function for call to ‘std::allocator_traits<int>::_S_difference_type_helper(int*)’ _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type, ^ /usr/include/c++/5/bits/alloc_traits.h:140:1: note: candidate: template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = int] _GLIBCXX_ALLOC_TR_NESTED_TYPE(difference_type, ^ /usr/include/c++/5/bits/alloc_traits.h:140:1: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::difference_type std::allocator_traits<_Alloc>::_S_difference_type_helper(_Tp*) [with _Tp = int]’: /usr/include/c++/5/bits/alloc_traits.h:140:1: required from ‘struct std::allocator_traits<int>’ /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:140:1: error: ‘int’ is not a class, struct, or union type /usr/include/c++/5/bits/alloc_traits.h: In instantiation of ‘struct std::allocator_traits<int>’: /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:151:1: error: no matching function for call to ‘std::allocator_traits<int>::_S_size_type_helper(int*)’ _GLIBCXX_ALLOC_TR_NESTED_TYPE(size_type, ^ /usr/include/c++/5/bits/alloc_traits.h:151:1: note: candidate: template<class _Tp> static typename _Tp::size_type std::allocator_traits<_Alloc>::_S_size_type_helper(_Tp*) [with _Tp = _Tp; _Alloc = int] _GLIBCXX_ALLOC_TR_NESTED_TYPE(size_type, ^ /usr/include/c++/5/bits/alloc_traits.h:151:1: note: template argument deduction/substitution failed: /usr/include/c++/5/bits/alloc_traits.h: In substitution of ‘template<class _Tp> static typename _Tp::size_type std::allocator_traits<_Alloc>::_S_size_type_helper(_Tp*) [with _Tp = int]’: /usr/include/c++/5/bits/alloc_traits.h:151:1: required from ‘struct std::allocator_traits<int>’ /usr/include/c++/5/ext/alloc_traits.h:95:10: required from ‘struct __gnu_cxx::__alloc_traits<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:151:1: error: ‘int’ is not a class, struct, or union type In file included from /usr/include/c++/5/bits/basic_string.h:40:0, from /usr/include/c++/5/string:52, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from bankomatas.cpp:9: /usr/include/c++/5/ext/alloc_traits.h: In instantiation of ‘struct __gnu_cxx::__alloc_traits<int>’: /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/ext/alloc_traits.h:111:23: error: no members matching ‘__gnu_cxx::__alloc_traits<int>::_Base_type {aka std::allocator_traits<int>}::allocate’ in ‘__gnu_cxx::__alloc_traits<int>::_Base_type {aka struct std::allocator_traits<int>}’ using _Base_type::allocate; ^ /usr/include/c++/5/ext/alloc_traits.h:112:23: error: no members matching ‘__gnu_cxx::__alloc_traits<int>::_Base_type {aka std::allocator_traits<int>}::deallocate’ in ‘__gnu_cxx::__alloc_traits<int>::_Base_type {aka struct std::allocator_traits<int>}’ using _Base_type::deallocate; ^ /usr/include/c++/5/ext/alloc_traits.h:115:23: error: no members matching ‘__gnu_cxx::__alloc_traits<int>::_Base_type {aka std::allocator_traits<int>}::max_size’ in ‘__gnu_cxx::__alloc_traits<int>::_Base_type {aka struct std::allocator_traits<int>}’ using _Base_type::max_size; ^ In file included from /usr/include/c++/5/ext/alloc_traits.h:36:0, from /usr/include/c++/5/bits/basic_string.h:40, from /usr/include/c++/5/string:52, from /usr/include/c++/5/bits/locale_classes.h:40, from /usr/include/c++/5/bits/ios_base.h:41, from /usr/include/c++/5/ios:42, from /usr/include/c++/5/ostream:38, from /usr/include/c++/5/iostream:39, from bankomatas.cpp:9: /usr/include/c++/5/bits/alloc_traits.h: In substitution of ‘template<class _Alloc> template<class _Tp> using rebind_alloc = typename std::__alloctr_rebind<_Alloc, _Tp>::__type [with _Tp = int; _Alloc = int]’: /usr/include/c++/5/ext/alloc_traits.h:169:65: required from ‘struct __gnu_cxx::__alloc_traits<int>::rebind<int>’ /usr/include/c++/5/bits/stl_vector.h:75:28: required from ‘struct std::_Vector_base<int, int>’ /usr/include/c++/5/bits/stl_vector.h:214:11: required from ‘class std::vector<int, int>’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/alloc_traits.h:200:69: error: invalid use of incomplete type ‘struct std::__alloctr_rebind<int, int, false>’ using rebind_alloc = typename __alloctr_rebind<_Alloc, _Tp>::__type; ^ /usr/include/c++/5/bits/alloc_traits.h:60:12: note: declaration of ‘struct std::__alloctr_rebind<int, int, false>’ struct __alloctr_rebind; ^ In file included from /usr/include/c++/5/vector:64:0, from bankomatas.cpp:10: /usr/include/c++/5/bits/stl_vector.h: In instantiation of ‘class std::vector<int, int>’: bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/stl_vector.h:217:58: error: ‘int’ is not a class, struct, or union type typedef typename _Alloc::value_type _Alloc_value_type; ^ /usr/include/c++/5/bits/stl_vector.h:241:20: error: no members matching ‘std::vector<int, int>::_Base {aka std::_Vector_base<int, int>}::_M_allocate’ in ‘std::vector<int, int>::_Base {aka struct std::_Vector_base<int, int>}’ using _Base::_M_allocate; ^ /usr/include/c++/5/bits/stl_vector.h:242:20: error: no members matching ‘std::vector<int, int>::_Base {aka std::_Vector_base<int, int>}::_M_deallocate’ in ‘std::vector<int, int>::_Base {aka struct std::_Vector_base<int, int>}’ using _Base::_M_deallocate; ^ /usr/include/c++/5/bits/stl_vector.h:244:20: error: no members matching ‘std::vector<int, int>::_Base {aka std::_Vector_base<int, int>}::_M_get_Tp_allocator’ in ‘std::vector<int, int>::_Base {aka struct std::_Vector_base<int, int>}’ using _Base::_M_get_Tp_allocator; ^ bankomatas.cpp: In function ‘int main(int, const char**)’: bankomatas.cpp:1021:25: error: no match for ‘operator[]’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<int, int> > >::value_type {aka std::vector<int, int>}’ and ‘int’) cout << atsakymai[l][r]; ^ In file included from /usr/include/c++/5/vector:64:0, from bankomatas.cpp:10: /usr/include/c++/5/bits/stl_vector.h: In instantiation of ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = int; _Alloc = int]’: bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/stl_vector.h:424:22: error: ‘struct std::_Vector_base<int, int>::_Vector_impl’ has no member named ‘_M_start’ { std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, ^ /usr/include/c++/5/bits/stl_vector.h:424:22: error: ‘struct std::_Vector_base<int, int>::_Vector_impl’ has no member named ‘_M_finish’ /usr/include/c++/5/bits/stl_vector.h:425:28: error: ‘_M_get_Tp_allocator’ was not declared in this scope _M_get_Tp_allocator()); } ^ /usr/include/c++/5/bits/stl_vector.h: In instantiation of ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base(const allocator_type&) [with _Tp = int; _Alloc = int; std::_Vector_base<_Tp, _Alloc>::allocator_type = int]’: /usr/include/c++/5/bits/stl_vector.h:375:18: required from ‘std::vector<_Tp, _Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = int; _Alloc = int; std::vector<_Tp, _Alloc>::allocator_type = int]’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/stl_vector.h:128:20: error: no matching function for call to ‘std::_Vector_base<int, int>::_Vector_impl::_Vector_impl(const allocator_type&)’ : _M_impl(__a) { } ^ /usr/include/c++/5/bits/stl_vector.h:86:2: note: candidate: std::_Vector_base<_Tp, _Alloc>::_Vector_impl::_Vector_impl() [with _Tp = int; _Alloc = int] _Vector_impl() ^ /usr/include/c++/5/bits/stl_vector.h:86:2: note: candidate expects 0 arguments, 1 provided /usr/include/c++/5/bits/stl_vector.h:79:14: note: candidate: constexpr std::_Vector_base<int, int>::_Vector_impl::_Vector_impl(const std::_Vector_base<int, int>::_Vector_impl&) struct _Vector_impl ^ /usr/include/c++/5/bits/stl_vector.h:79:14: note: no known conversion for argument 1 from ‘const allocator_type {aka const int}’ to ‘const std::_Vector_base<int, int>::_Vector_impl&’ /usr/include/c++/5/bits/stl_vector.h:79:14: note: candidate: constexpr std::_Vector_base<int, int>::_Vector_impl::_Vector_impl(std::_Vector_base<int, int>::_Vector_impl&&) /usr/include/c++/5/bits/stl_vector.h:79:14: note: no known conversion for argument 1 from ‘const allocator_type {aka const int}’ to ‘std::_Vector_base<int, int>::_Vector_impl&&’ /usr/include/c++/5/bits/stl_vector.h: In instantiation of ‘std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = int; _Alloc = int]’: /usr/include/c++/5/bits/stl_vector.h:375:18: required from ‘std::vector<_Tp, _Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = int; _Alloc = int; std::vector<_Tp, _Alloc>::allocator_type = int]’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/stl_vector.h:160:22: error: ‘struct std::_Vector_base<int, int>::_Vector_impl’ has no member named ‘_M_start’ { _M_deallocate(this->_M_impl._M_start, this->_M_impl._M_end_of_storage ^ /usr/include/c++/5/bits/stl_vector.h:161:9: error: ‘struct std::_Vector_base<int, int>::_Vector_impl’ has no member named ‘_M_end_of_storage’ - this->_M_impl._M_start); } ^ /usr/include/c++/5/bits/stl_vector.h:161:9: error: ‘struct std::_Vector_base<int, int>::_Vector_impl’ has no member named ‘_M_start’ /usr/include/c++/5/bits/stl_vector.h:160:22: error: ‘_M_deallocate’ was not declared in this scope { _M_deallocate(this->_M_impl._M_start, this->_M_impl._M_end_of_storage ^ /usr/include/c++/5/bits/stl_vector.h: In instantiation of ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = const int*; _Tp = int; _Alloc = int]’: /usr/include/c++/5/bits/stl_vector.h:377:21: required from ‘std::vector<_Tp, _Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = int; _Alloc = int; std::vector<_Tp, _Alloc>::allocator_type = int]’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/stl_vector.h:1287:27: error: ‘struct std::_Vector_base<int, int>::_Vector_impl’ has no member named ‘_M_start’ this->_M_impl._M_start = this->_M_allocate(__n); ^ /usr/include/c++/5/bits/stl_vector.h:1287:27: error: ‘class std::vector<int, int>’ has no member named ‘_M_allocate’ /usr/include/c++/5/bits/stl_vector.h:1288:36: error: ‘struct std::_Vector_base<int, int>::_Vector_impl’ has no member named ‘_M_end_of_storage’ this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __n; ^ /usr/include/c++/5/bits/stl_vector.h:1288:61: error: ‘struct std::_Vector_base<int, int>::_Vector_impl’ has no member named ‘_M_start’ this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __n; ^ /usr/include/c++/5/bits/stl_vector.h:1289:28: error: ‘struct std::_Vector_base<int, int>::_Vector_impl’ has no member named ‘_M_finish’ this->_M_impl._M_finish = ^ /usr/include/c++/5/bits/stl_vector.h:1290:33: error: ‘struct std::_Vector_base<int, int>::_Vector_impl’ has no member named ‘_M_start’ std::__uninitialized_copy_a(__first, __last, ^ /usr/include/c++/5/bits/stl_vector.h:1292:25: error: ‘_M_get_Tp_allocator’ was not declared in this scope _M_get_Tp_allocator()); ^ /usr/include/c++/5/bits/stl_vector.h: In instantiation of ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = int]’: /usr/include/c++/5/bits/stl_construct.h:75:7: required from ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = std::vector<int, int>; _Args = {const std::vector<int, int>&}]’ /usr/include/c++/5/bits/stl_uninitialized.h:75:18: required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const std::vector<int, int>*; _ForwardIterator = std::vector<int, int>*; bool _TrivialValueTypes = false]’ /usr/include/c++/5/bits/stl_uninitialized.h:126:15: required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const std::vector<int, int>*; _ForwardIterator = std::vector<int, int>*]’ /usr/include/c++/5/bits/stl_uninitialized.h:281:37: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = const std::vector<int, int>*; _ForwardIterator = std::vector<int, int>*; _Tp = std::vector<int, int>]’ /usr/include/c++/5/bits/stl_vector.h:1290:33: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = const std::vector<int, int>*; _Tp = std::vector<int, int>; _Alloc = std::allocator<std::vector<int, int> >]’ /usr/include/c++/5/bits/stl_vector.h:377:21: required from ‘std::vector<_Tp, _Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = std::vector<int, int>; _Alloc = std::allocator<std::vector<int, int> >; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<std::vector<int, int> >]’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/stl_vector.h:320:41: error: ‘const class std::vector<int, int>’ has no member named ‘_M_get_Tp_allocator’ _Alloc_traits::_S_select_on_copy(__x._M_get_Tp_allocator())) ^ /usr/include/c++/5/bits/stl_vector.h:321:33: error: ‘struct std::_Vector_base<int, int>::_Vector_impl’ has no member named ‘_M_finish’ { this->_M_impl._M_finish = ^ /usr/include/c++/5/bits/stl_vector.h:322:31: error: ‘const class std::vector<int, int>’ has no member named ‘begin’ std::__uninitialized_copy_a(__x.begin(), __x.end(), ^ /usr/include/c++/5/bits/stl_vector.h:322:31: error: ‘const class std::vector<int, int>’ has no member named ‘end’ /usr/include/c++/5/bits/stl_vector.h:322:31: error: ‘struct std::_Vector_base<int, int>::_Vector_impl’ has no member named ‘_M_start’ /usr/include/c++/5/bits/stl_vector.h:324:30: error: ‘_M_get_Tp_allocator’ was not declared in this scope _M_get_Tp_allocator()); ^ /usr/include/c++/5/bits/stl_vector.h: In instantiation of ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = int; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’: /usr/include/c++/5/bits/stl_vector.h:320:68: required from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = int]’ /usr/include/c++/5/bits/stl_construct.h:75:7: required from ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = std::vector<int, int>; _Args = {const std::vector<int, int>&}]’ /usr/include/c++/5/bits/stl_uninitialized.h:75:18: required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const std::vector<int, int>*; _ForwardIterator = std::vector<int, int>*; bool _TrivialValueTypes = false]’ /usr/include/c++/5/bits/stl_uninitialized.h:126:15: required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const std::vector<int, int>*; _ForwardIterator = std::vector<int, int>*]’ /usr/include/c++/5/bits/stl_uninitialized.h:281:37: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = const std::vector<int, int>*; _ForwardIterator = std::vector<int, int>*; _Tp = std::vector<int, int>]’ /usr/include/c++/5/bits/stl_vector.h:1290:33: required from ‘void std::vector<_Tp, _Alloc>::_M_range_initialize(_ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = const std::vector<int, int>*; _Tp = std::vector<int, int>; _Alloc = std::allocator<std::vector<int, int> >]’ /usr/include/c++/5/bits/stl_vector.h:377:21: required from ‘std::vector<_Tp, _Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = std::vector<int, int>; _Alloc = std::allocator<std::vector<int, int> >; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<std::vector<int, int> >]’ bankomatas.cpp:1017:5: required from here /usr/include/c++/5/bits/stl_vector.h:655:50: error: ‘const struct std::_Vector_base<int, int>::_Vector_impl’ has no member named ‘_M_finish’ { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); } ^ /usr/include/c++/5/bits/stl_vector.h:655:50: error: ‘const struct std::_Vector_base<int, int>::_Vector_impl’ has no member named ‘_M_start’

nr.resulttimemessage