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_5187264_21100.cpp
VC\include\map(142) : error C2529: “[]” : 引用的引用非法
        0_0_5187264_21100.cpp(29) : 参见对正在编译的类模板实例化“std::map<_Kty,_Ty>”的引用
        with
        [
            _Kty=int,
            _Ty=TEAM &
        ]
VC\include\utility(32) : warning C4181: 应用到引用类型的限定符;已将其忽略
        0_0_5187264_21100.cpp(46) : 参见对正在编译的类模板实例化“std::pair<_Ty1,_Ty2>”的引用
        with
        [
            _Ty1=int,
            _Ty2=TEAM &
        ]
VC\include\utility(32) : error C2529: “_Val2” : 引用的引用非法
0_0_5187264_21100.cpp(46) : error C2665: “std::pair<_Ty1,_Ty2>::__ctor” : 3 个重载中没有一个可以转换参数 2(从“std::allocator<_Ty>::value_type”类型)
        with
        [
            _Ty1=int,
            _Ty2=TEAM &
        ]
        and
        [
            _Ty1=int,
            _Ty2=TEAM &
        ]
        and
        [
            _Ty=TEAM
        ]
        VC\include\utility(32): 可能是“std::pair<_Ty1,_Ty2>::pair(const _Ty1 &,_Ty2 & )”
        with
        [
            _Ty1=int,
            _Ty2=TEAM &
        ]
        试图匹配参数列表“(int, std::allocator<_Ty>::value_type)”时
        with
        [
            _Ty=TEAM
        ]
VC\include\utility(32) : warning C4181: 应用到引用类型的限定符;已将其忽略
        0_0_5187264_21100.cpp(48) : 参见对正在编译的类模板实例化“std::pair<_Ty1,_Ty2>”的引用
        with
        [
            _Ty1=const int,
            _Ty2=TEAM &
        ]
VC\include\utility(32) : error C2529: “_Val2” : 引用的引用非法


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-27 00:10:53, Gzip enabled