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_10986304_1336.cpp
0_0_10986304_1336.cpp(26) : error C2664: “std::_Tree<_Traits>::_Pairib std::_Tree<_Traits>::insert(const std::_Tree<_Traits>::value_type &)” : 不能将参数 1 从“std::pair<_Ty1,_Ty2>”转换为“const std::_Tree<_Traits>::value_type &”
        with
        [
            _Traits=std::_Tset_traits<int,std::less<int>,std::allocator<int>,false>
        ]
        and
        [
            _Ty1=int,
            _Ty2=int
        ]
        and
        [
            _Traits=std::_Tset_traits<int,std::less<int>,std::allocator<int>,false>
        ]
        原因如下: 无法从“std::pair<_Ty1,_Ty2>”转换为“const std::_Tree<_Traits>::value_type”
        with
        [
            _Ty1=int,
            _Ty2=int
        ]
        and
        [
            _Traits=std::_Tset_traits<int,std::less<int>,std::allocator<int>,false>
        ]
        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
0_0_10986304_1336.cpp(32) : error C2228: “.second”的左侧必须有类/结构/联合类型
        类型是“std::allocator<_Ty>::value_type”
        with
        [
            _Ty=int
        ]
0_0_10986304_1336.cpp(36) : error C2440: “初始化” : 无法从“std::allocator<_Ty>::value_type”转换为“std::pair<_Ty1,_Ty2>”
        with
        [
            _Ty=int
        ]
        and
        [
            _Ty1=int,
            _Ty2=int
        ]
        无构造函数可以接受源类型,或构造函数重载决策不明确
0_0_10986304_1336.cpp(38) : error C2440: “初始化” : 无法从“std::allocator<_Ty>::value_type”转换为“std::pair<_Ty1,_Ty2>”
        with
        [
            _Ty=int
        ]
        and
        [
            _Ty1=int,
            _Ty2=int
        ]
        无构造函数可以接受源类型,或构造函数重载决策不明确
0_0_10986304_1336.cpp(44) : error C2664: “std::_Tree<_Traits>::_Pairib std::_Tree<_Traits>::insert(const std::_Tree<_Traits>::value_type &)” : 不能将参数 1 从“std::pair<_Ty1,_Ty2>”转换为“const std::_Tree<_Traits>::value_type &”
        with
        [
            _Traits=std::_Tset_traits<int,std::less<int>,std::allocator<int>,false>
        ]
        and
        [
            _Ty1=int,
            _Ty2=int
        ]
        and
        [
            _Traits=std::_Tset_traits<int,std::less<int>,std::allocator<int>,false>
        ]
        原因如下: 无法从“std::pair<_Ty1,_Ty2>”转换为“const std::_Tree<_Traits>::value_type”
        with
        [
            _Ty1=int,
            _Ty2=int
        ]
        and
        [
            _Traits=std::_Tset_traits<int,std::less<int>,std::allocator<int>,false>
        ]
        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符


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-29 23:46:40, Gzip enabled