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_39210111_25824.cpp
0_0_39210111_25824.cpp(14) : error C2664: “std::_Tree_const_iterator<std::_Tree_val<std::_Tree_simple_types<int>>> std::set<int,std::less<_Kty>,std::allocator<_Kty>>::insert(std::_Tree_const_iterator<std::_Tree_val<std::_Tree_simple_types<int>>>,const int &)”: 无法将参数 1 从“std::basic_istream<char,std::char_traits<char>>”转换为“int &&”
        with
        [
            _Kty=int
        ]
        原因如下:  无法从“std::basic_istream<char,std::char_traits<char>>”转换为“int”
        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
0_0_39210111_25824.cpp(20) : error C2664: “unsigned int std::_Tree<std::_Tset_traits<_Kty,_Pr,_Alloc,false>>::erase(const int &)”: 无法将参数 1 从“std::basic_istream<char,std::char_traits<char>>”转换为“std::_Tree_const_iterator<std::_Tree_val<std::_Tree_simple_types<int>>>”
        with
        [
            _Kty=int
,            _Pr=std::less<int>
,            _Alloc=std::allocator<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-11-16 05:41:21, Gzip enabled