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_39897382_2140.cpp
0_0_39897382_2140.cpp(14) : error C2678: 二进制“[”: 没有找到接受“const std::map<std::string,std::string,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>”类型的左操作数的运算符(或没有可接受的转换)
        with
        [
            _Kty=std::string
,            _Ty=std::string
        ]
        VC2013\INCLUDE\map(224): 可能是“std::basic_string<char,std::char_traits<char>,std::allocator<char>> &std::map<std::string,std::string,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator [](const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &)”
        with
        [
            _Kty=std::string
,            _Ty=std::string
        ]
        VC2013\INCLUDE\map(172): 或       “std::basic_string<char,std::char_traits<char>,std::allocator<char>> &std::map<std::string,std::string,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>::operator [](std::basic_string<char,std::char_traits<char>,std::allocator<char>> &&)”
        with
        [
            _Kty=std::string
,            _Ty=std::string
        ]
        尝试匹配参数列表“(const std::map<std::string,std::string,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>, const std::string)”时
        with
        [
            _Kty=std::string
,            _Ty=std::string
        ]
0_0_39897382_2140.cpp(14) : error C2660: “hasCycle”: 函数不接受 2 个参数


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 21:26:57, Gzip enabled