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++/utility:70:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
                 from 0_0_30587369_2129.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h: In instantiation of 'struct std::pair<const char, Node>':
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/aligned_buffer.h:44:34:   required from 'struct __gnu_cxx::__aligned_buffer<std::pair<const char, Node> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/hashtable_policy.h:249:43:   required from 'struct std::__detail::_Hash_node_value_base<std::pair<const char, Node> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/hashtable_policy.h:295:12:   required from 'struct std::__detail::_Hash_node<std::pair<const char, Node>, false>'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/hashtable_policy.h:1899:60:   required from 'struct std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const char, Node>, false> > >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/hashtable.h:170:11:   required from 'class std::_Hashtable<char, std::pair<const char, Node>, std::allocator<std::pair<const char, Node> >, std::__detail::_Select1st, std::equal_to<char>, std::hash<char>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/unordered_map.h:101:18:   required from 'class std::unordered_map<char, Node>'
0_0_30587369_2129.cpp:33:31:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:102:11: error: 'std::pair<_T1, _T2>::second' has incomplete type
       _T2 second;                /// @c second is a copy of the second object
           ^
0_0_30587369_2129.cpp:29:7: error: forward declaration of 'class Node'
 class Node {
       ^


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-23 09:50:39, Gzip enabled