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_39029854_2069.cpp
0_0_39029854_2069.cpp(14) : error C2679: 二进制“[”: 没有找到接受“char [10]”类型的右操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\map(224): 可能是“int &std::map<char,int,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator [](const char &)”
        with
        [
            _Kty=char
,            _Ty=int
        ]
        VC2013\INCLUDE\map(172): 或       “int &std::map<char,int,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator [](char &&)”
        with
        [
            _Kty=char
,            _Ty=int
        ]
        尝试匹配参数列表“(std::map<char,int,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>, char [10])”时
        with
        [
            _Kty=char
,            _Ty=int
        ]
0_0_39029854_2069.cpp(18) : error C2679: 二进制“[”: 没有找到接受“char [10]”类型的右操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\map(224): 可能是“int &std::map<char,int,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator [](const char &)”
        with
        [
            _Kty=char
,            _Ty=int
        ]
        VC2013\INCLUDE\map(172): 或       “int &std::map<char,int,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator [](char &&)”
        with
        [
            _Kty=char
,            _Ty=int
        ]
        尝试匹配参数列表“(std::map<char,int,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>, char [10])”时
        with
        [
            _Kty=char
,            _Ty=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-25 22:33:10, Gzip enabled