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_38323248_23729.cpp
0_0_38323248_23729.cpp(59) : error C2664: “std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(std::initializer_list<_Elem>,const std::allocator<char> &)”: 无法将参数 1 从“int”转换为“const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &”
        with
        [
            _Elem=char
        ]
        原因如下:  无法从“int”转换为“const std::basic_string<char,std::char_traits<char>,std::allocator<char>>”
        无构造函数可以接受源类型,或构造函数重载决策不明确


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-10 17:45:18, Gzip enabled