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_11412492_28285.cpp
0_0_11412492_28285.cpp(46) : error C2440: “初始化” : 无法从“std::_Tree<_Traits>::iterator”转换为“std::_Tree<_Traits>::iterator”
        with
        [
            _Traits=std::_Tmap_traits<Node,int,std::less<Node>,std::allocator<std::pair<const Node,int>>,true>
        ]
        and
        [
            _Traits=std::_Tmap_traits<Node,int,std::less<Node>,std::allocator<std::pair<const Node,int>>,false>
        ]
        无构造函数可以接受源类型,或构造函数重载决策不明确
0_0_11412492_28285.cpp(53) : error C2664: “std::_Tree<_Traits>::iterator std::_Tree<_Traits>::erase(std::_Tree<_Traits>::iterator)” : 不能将参数 1 从“std::map<_Kty,_Ty>::iterator”转换为“std::_Tree<_Traits>::iterator”
        with
        [
            _Traits=std::_Tmap_traits<Node,int,std::less<Node>,std::allocator<std::pair<const Node,int>>,true>
        ]
        and
        [
            _Kty=Node,
            _Ty=int
        ]
        and
        [
            _Traits=std::_Tmap_traits<Node,int,std::less<Node>,std::allocator<std::pair<const Node,int>>,true>
        ]
        无构造函数可以接受源类型,或构造函数重载决策不明确


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 06:20:19, Gzip enabled