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_10234092_6700.cpp
0_0_10234092_6700.cpp(45) : error C2664: “std::basic_string<_Elem,_Traits,_Ax>::_Myt &std::basic_string<_Elem,_Traits,_Ax>::insert(std::basic_string<_Elem,_Traits,_Ax>::size_type,const std::basic_string<_Elem,_Traits,_Ax>::_Myt &)” : 不能将参数 2 从“std::basic_string<_Elem,_Traits,_Ax>::iterator”转换为“const std::basic_string<_Elem,_Traits,_Ax>::_Myt &”
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]
        and
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]
        and
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]
        原因如下: 无法从“std::basic_string<_Elem,_Traits,_Ax>::iterator”转换为“const std::basic_string<_Elem,_Traits,_Ax>::_Myt”
        with
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]
        and
        [
            _Elem=char,
            _Traits=std::char_traits<char>,
            _Ax=std::allocator<char>
        ]
        无构造函数可以接受源类型,或构造函数重载决策不明确


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 23:04:19, Gzip enabled