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++/bits/hashtable.h:35:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/unordered_map:47,
                 from 0_0_24816984_20959.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::__is_noexcept_hash<char*, cmp>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:134:12:   required from 'struct std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:145:38:   required from 'struct std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:100:66:   required from 'class std::unordered_map<char*, char*, cmp>'
0_0_24816984_20959.cpp:13:34:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/hashtable_policy.h:85:33: error: no match for call to '(const cmp) (char* const&)'
  noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
                                 ^
0_0_24816984_20959.cpp:5:9: note: candidate is:
 struct  cmp 
         ^
0_0_24816984_20959.cpp:7:10: note: bool cmp::operator()(const char*, const char*) const
     bool operator()( const char* a, const char* b)const 
          ^
0_0_24816984_20959.cpp:7:10: note:   candidate expects 2 arguments, 1 provided
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/unordered_map:38,
                 from 0_0_24816984_20959.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits: In instantiation of 'struct std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:100:66:   required from 'class std::unordered_map<char*, char*, cmp>'
0_0_24816984_20959.cpp:13:34:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:145:38: error: 'value' is not a member of 'std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> >'
     : public integral_constant<bool, !_Pp::value>
                                      ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/unordered_map:48:0,
                 from 0_0_24816984_20959.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h: In instantiation of 'class std::unordered_map<char*, char*, cmp>':
0_0_24816984_20959.cpp:13:34:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:100:66: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef __umap_hashtable<_Key, _Tp, _Hash, _Pred, _Alloc>  _Hashtable;
                                                                  ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:107:45: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::key_type key_type;
                                             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:108:47: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::value_type value_type;
                                               ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:109:48: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::mapped_type mapped_type;
                                                ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:110:43: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::hasher hasher;
                                           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:111:46: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::key_equal key_equal;
                                              ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:112:51: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::allocator_type allocator_type;
                                                   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:117:45: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::pointer  pointer;
                                             ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:118:50: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::const_pointer const_pointer;
                                                  ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:119:47: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::reference  reference;
                                               ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:120:52: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::const_reference const_reference;
                                                    ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:121:46: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::iterator  iterator;
                                              ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:122:51: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::const_iterator const_iterator;
                                                   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:123:51: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::local_iterator local_iterator;
                                                   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:124:57: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::const_local_iterator const_local_iterator;
                                                         ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:125:47: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::size_type  size_type;
                                               ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:126:52: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       typedef typename _Hashtable::difference_type difference_type;
                                                    ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:242:7: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       operator=(initializer_list<value_type> __l)
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:340:2: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
  emplace(_Args&&... __args)
  ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:392:7: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       insert(const value_type& __x)
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:399:2: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
  insert(_Pair&& __x)
  ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:459:7: error: 'value' is not a member of 'std::__not_<std::__and_<std::__is_fast_hash<cmp>, std::__detail::__is_noexcept_hash<char*, cmp> > >'
       insert(initializer_list<value_type> __l)
       ^
D:/HDOJ/Co


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-30 03:24:27, Gzip enabled