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_24668196_7598.cpp
0_0_24668196_7598.cpp(33) : error C2664: “void std::vector<std::string,std::allocator<_Ty>>::push_back(const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &)”: 无法将参数 1 从“char”转换为“std::basic_string<char,std::char_traits<char>,std::allocator<char>> &&”
        with
        [
            _Ty=std::string
        ]
        原因如下:  无法从“char”转换为“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”
        无构造函数可以接受源类型,或构造函数重载决策不明确
0_0_24668196_7598.cpp(34) : error C2664: “void std::vector<std::string,std::allocator<_Ty>>::push_back(const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &)”: 无法将参数 1 从“char”转换为“std::basic_string<char,std::char_traits<char>,std::allocator<char>> &&”
        with
        [
            _Ty=std::string
        ]
        原因如下:  无法从“char”转换为“std::basic_string<char,std::char_traits<char>,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-17 00:26:29, Gzip enabled