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 GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:64,
                 from 0_0_22249378_5943.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<node>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, node>'
0_0_22249378_5943.cpp:10:22:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:85:43: error: no type named 'value_type' in 'struct node'
       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<node>::_S_pointer_helper(node*)'
 _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 = node]
 _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 = node]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:95:1:   required from 'struct std::allocator_traits<node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, node>'
0_0_22249378_5943.cpp:10:22:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:95:1: error: no type named 'pointer' in 'struct node'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<node>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, node>'
0_0_22249378_5943.cpp:10:22:   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<node>::_S_const_pointer_helper(node*)'
 _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 = node]
 _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 = node]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:104:1:   required from 'struct std::allocator_traits<node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, node>'
0_0_22249378_5943.cpp:10:22:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:104:1: error: no type named 'const_pointer' in 'struct node'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<node>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, node>'
0_0_22249378_5943.cpp:10:22:   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<node>::_S_void_pointer_helper(node*)'
 _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 = node]
 _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 = node]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:115:1:   required from 'struct std::allocator_traits<node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, node>'
0_0_22249378_5943.cpp:10:22:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:115:1: error: no type named 'void_pointer' in 'struct node'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<node>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, node>'
0_0_22249378_5943.cpp:10:22:   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<node>::_S_const_void_pointer_helper(node*)'
 _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 = node]
 _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 = node]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:126:1:   required from 'struct std::allocator_traits<node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:75:28:   required from 'struct std::_Vector_base<int, node>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:214:11:   required from 'class std::vector<int, node>'
0_0_22249378_5943.cpp:10:22:   required from here
GCC4.


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-11-29 23:52:39, Gzip enabled