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_39015623_28023.cpp
0_0_39015623_28023.cpp(8) : error C2664: “unsigned int std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::count(const std::tuple<int,int,int> &) const”: 无法将参数 1 从“initializer-list”转换为“const std::tuple<int,int,int> &”
        with
        [
            _Kty=std::tuple<int,int,int>
,            _Ty=__int64
,            _Pr=std::less<std::tuple<int,int,int>>
,            _Alloc=std::allocator<std::pair<const std::tuple<int,int,int>,__int64>>
        ]
        原因如下:  无法从“initializer-list”转换为“const std::tuple<int,int,int>”
        无构造函数可以接受源类型,或构造函数重载决策不明确
0_0_39015623_28023.cpp(9) : error C2679: 二进制“[”: 没有找到接受“initializer-list”类型的右操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\map(224): 可能是“__int64 &std::map<std::tuple<int,int,int>,__int64,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator [](const std::tuple<int,int,int> &)”
        with
        [
            _Kty=std::tuple<int,int,int>
,            _Ty=__int64
        ]
        VC2013\INCLUDE\map(172): 或       “__int64 &std::map<std::tuple<int,int,int>,__int64,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator [](std::tuple<int,int,int> &&)”
        with
        [
            _Kty=std::tuple<int,int,int>
,            _Ty=__int64
        ]
        尝试匹配参数列表“(std::map<std::tuple<int,int,int>,__int64,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>, initializer-list)”时
        with
        [
            _Kty=std::tuple<int,int,int>
,            _Ty=__int64
        ]
0_0_39015623_28023.cpp(14) : error C2679: 二进制“[”: 没有找到接受“initializer-list”类型的右操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\map(224): 可能是“__int64 &std::map<std::tuple<int,int,int>,__int64,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator [](const std::tuple<int,int,int> &)”
        with
        [
            _Kty=std::tuple<int,int,int>
,            _Ty=__int64
        ]
        VC2013\INCLUDE\map(172): 或       “__int64 &std::map<std::tuple<int,int,int>,__int64,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator [](std::tuple<int,int,int> &&)”
        with
        [
            _Kty=std::tuple<int,int,int>
,            _Ty=__int64
        ]
        尝试匹配参数列表“(std::map<std::tuple<int,int,int>,__int64,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>, initializer-list)”时
        with
        [
            _Kty=std::tuple<int,int,int>
,            _Ty=__int64
        ]
0_0_39015623_28023.cpp(16) : error C2679: 二进制“[”: 没有找到接受“initializer-list”类型的右操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\map(224): 可能是“__int64 &std::map<std::tuple<int,int,int>,__int64,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator [](const std::tuple<int,int,int> &)”
        with
        [
            _Kty=std::tuple<int,int,int>
,            _Ty=__int64
        ]
        VC2013\INCLUDE\map(172): 或       “__int64 &std::map<std::tuple<int,int,int>,__int64,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator [](std::tuple<int,int,int> &&)”
        with
        [
            _Kty=std::tuple<int,int,int>
,            _Ty=__int64
        ]
        尝试匹配参数列表“(std::map<std::tuple<int,int,int>,__int64,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>, initializer-list)”时
        with
        [
            _Kty=std::tuple<int,int,int>
,            _Ty=__int64
        ]
0_0_39015623_28023.cpp(18) : error C2679: 二进制“[”: 没有找到接受“initializer-list”类型的右操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\map(224): 可能是“__int64 &std::map<std::tuple<int,int,int>,__int64,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator [](const std::tuple<int,int,int> &)”
        with
        [
            _Kty=std::tuple<int,int,int>
,            _Ty=__int64
        ]
        VC2013\INCLUDE\map(172): 或       “__int64 &std::map<std::tuple<int,int,int>,__int64,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator [](std::tuple<int,int,int> &&)”
        with
        [
            _Kty=std::tuple<int,int,int>
,            _Ty=__int64
        ]
        尝试匹配参数列表“(std::map<std::tuple<int,int,int>,__int64,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>, initializer-list)”时
        with
        [
            _Kty=std::tuple<int,int,int>
,            _Ty=__int64
        ]


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-17 04:44:20, Gzip enabled