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

0_0_29032112_20049.cpp
VC2013\INCLUDE\xstddef(328) : error C2338: The C++ Standard doesn't provide a hash for this type.
        VC2013\INCLUDE\type_traits(572): 参见对正在编译的类 模板 实例化“std::hash<_Kty>”的引用
        with
        [
            _Kty=std::pair<int,int>
        ]
        VC2013\INCLUDE\xhash(196): 参见对正在编译的类 模板 实例化“std::is_empty<_Hasher>”的引用
        with
        [
            _Hasher=std::hash<std::pair<int,int>>
        ]
        VC2013\INCLUDE\xhash(220): 参见对正在编译的类 模板 实例化“std::_Hash_oper2<false,_Hasher,_Keyeq>”的引用
        with
        [
            _Hasher=std::hash<std::pair<int,int>>
,            _Keyeq=std::equal_to<std::pair<int,int>>
        ]
        VC2013\INCLUDE\unordered_map(23): 参见对正在编译的类 模板 实例化“std::_Uhash_compare<_Kty,_Hasher,_Keyeq>”的引用
        with
        [
            _Kty=std::pair<int,int>
,            _Hasher=std::hash<std::pair<int,int>>
,            _Keyeq=std::equal_to<std::pair<int,int>>
        ]
        VC2013\INCLUDE\xhash(255): 参见对正在编译的类 模板 实例化“std::_Umap_traits<_Kty,_Ty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false>”的引用
        with
        [
            _Kty=std::pair<int,int>
,            _Ty=int
,            _Hasher=std::hash<std::pair<int,int>>
,            _Keyeq=std::equal_to<std::pair<int,int>>
,            _Alloc=std::allocator<std::pair<const std::pair<int,int>,int>>
        ]
        VC2013\INCLUDE\unordered_map(81): 参见对正在编译的类 模板 实例化“std::_Hash<std::_Umap_traits<_Kty,_Ty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false>>”的引用
        with
        [
            _Kty=std::pair<int,int>
,            _Ty=int
,            _Hasher=std::hash<std::pair<int,int>>
,            _Keyeq=std::equal_to<std::pair<int,int>>
,            _Alloc=std::allocator<std::pair<const std::pair<int,int>,int>>
        ]
        0_0_29032112_20049.cpp(22): 参见对正在编译的类 模板 实例化“std::unordered_map<std::pair<int,int>,int,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>”的引用
        with
        [
            _Kty=std::pair<int,int>
,            _Ty=int
        ]


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-07-07 07:22:02, Gzip enabled