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_39450034_15006.cpp
0_0_39450034_15006.cpp(32) : error C2679: 二进制“[”: 没有找到接受“const char [7]”类型的右操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\vector(1196): 可能是“std::basic_string<char,std::char_traits<char>,std::allocator<char>> &std::vector<std::string,std::allocator<_Ty>>::operator [](unsigned int)”
        with
        [
            _Ty=std::string
        ]
        VC2013\INCLUDE\vector(1180): 或       “const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &std::vector<std::string,std::allocator<_Ty>>::operator [](unsigned int) const”
        with
        [
            _Ty=std::string
        ]
        尝试匹配参数列表“(std::vector<std::string,std::allocator<_Ty>>, const char [7])”时
        with
        [
            _Ty=std::string
        ]


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-12-02 18:31:37, Gzip enabled