F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:36:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_construct.h:61,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_tempbuf.h:60,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:62,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
                 from 0_0_23540691_5341.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<int>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, int>'
0_0_23540691_5341.cpp:14:26:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:85:43: error: 'int' is not a class, struct, or union type
       typedef typename _Alloc::value_type value_type;
                                           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:95:1: error: no matching function for call to 'std::allocator_traits<int>::_S_pointer_helper(int*)'
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(pointer, value_type*)
 ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:95:1: note: candidate is:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:95:1: note: 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*)
 ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:95:1: note:   template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/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]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:95:1:   required from 'struct std::allocator_traits<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, int>'
0_0_23540691_5341.cpp:14:26:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:95:1: error: 'int' is not a class, struct, or union type
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<int>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, int>'
0_0_23540691_5341.cpp:14:26:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:104:1: error: no matching function for call to 'std::allocator_traits<int>::_S_const_pointer_helper(int*)'
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(const_pointer,
 ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:104:1: note: candidate is:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:104:1: note: 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,
 ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:104:1: note:   template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/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]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:104:1:   required from 'struct std::allocator_traits<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, int>'
0_0_23540691_5341.cpp:14:26:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:104:1: error: 'int' is not a class, struct, or union type
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<int>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, int>'
0_0_23540691_5341.cpp:14:26:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:115:1: error: no matching function for call to 'std::allocator_traits<int>::_S_void_pointer_helper(int*)'
 _GLIBCXX_ALLOC_TR_NESTED_TYPE(void_pointer,
 ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:115:1: note: candidate is:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:115:1: note: 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,
 ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:115:1: note:   template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/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]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:115:1:   required from 'struct std::allocator_traits<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, int>'
0_0_23540691_5341.cpp:14:26:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:115:1: error: 'int' is not a class, struct, or union type
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<int>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, int>'
0_0_23540691_5341.cpp:14:26:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:126: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,
 ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:126:1: note: candidate is:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:126:1: note: 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,
 ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:126:1: note:   template argument deduction/substitution failed:
GCC4.9.2/x86_64-w64-mingw32/include/c++/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]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:126:1:   required from 'struct std::allocator_traits<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, int>'
0_0_23540691_5341.cpp:14:26:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:126:1: error: 'int' is not a class, struct, or union type
GCC4.9.2/x86_64-w64-mingw32/include/


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-10-01 12:16:13, Gzip enabled