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++/set:62:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:86,
                 from 0_0_34250393_15985.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h: In instantiation of 'class std::multiset<int, std::vector<int>, std::greater<int> >':
0_0_34250393_15985.cpp:7:45:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:95:61: error: no type named 'value_type' in 'struct std::greater<int>'
       typedef typename _Alloc::value_type                   _Alloc_value_type;
                                                             ^
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_34250393_15985.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<std::greater<int> >':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<std::greater<int> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:112:22:   required from 'class std::multiset<int, std::vector<int>, std::greater<int> >'
0_0_34250393_15985.cpp:7:45:   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 std::greater<int>'
       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<std::greater<int> >::_S_pointer_helper(std::greater<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 = std::greater<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 = std::greater<int>]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:95:1:   required from 'struct std::allocator_traits<std::greater<int> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<std::greater<int> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:112:22:   required from 'class std::multiset<int, std::vector<int>, std::greater<int> >'
0_0_34250393_15985.cpp:7:45:   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 std::greater<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<std::greater<int> >':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<std::greater<int> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:112:22:   required from 'class std::multiset<int, std::vector<int>, std::greater<int> >'
0_0_34250393_15985.cpp:7:45:   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<std::greater<int> >::_S_const_pointer_helper(std::greater<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 = std::greater<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 = std::greater<int>]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:104:1:   required from 'struct std::allocator_traits<std::greater<int> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<std::greater<int> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:112:22:   required from 'class std::multiset<int, std::vector<int>, std::greater<int> >'
0_0_34250393_15985.cpp:7:45:   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 std::greater<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<std::greater<int> >':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<std::greater<int> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:112:22:   required from 'class std::multiset<int, std::vector<int>, std::greater<int> >'
0_0_34250393_15985.cpp:7:45:   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<std::greater<int> >::_S_void_pointer_helper(std::greater<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 = std::greater<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 = std::greater<int>]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:115:1:   required from 'struct std::allocator_traits<std::greater<int> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<std::greater<int> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:112:22:   required from 'class std::multiset<int, std::vector<int>, std::greater<int> >'
0_0_34250393_15985.cpp:7:45:   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 std::greater<int>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h: In instantiation of 'struct std::allocator_traits<std::greater<int> >':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/alloc_traits.h:95:10:   required from 'struct __gnu_cxx::__alloc_traits<std::greater<int> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_multiset.h:112:22:   required from 'class std::multiset<int, std::vector<int>, std::greater<int> >'
0_0_34250393_15985.cpp:7:45:   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<std::greater<int> >::_S_const_void_pointer_helper(std::greater<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 = std::greater<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 = std::greater<int>]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/alloc_traits.h:126:1:   requir


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-22 14:56:58, Gzip enabled