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_39897402_30014.cpp
0_0_39897402_30014.cpp(45) : error C2664: “void std::vector<std::pair<int,std::string>,std::allocator<_Ty>>::push_back(const std::pair<int,std::string> &)”: 无法将参数 1 从“const std::pair<const _Kty,_Ty>”转换为“std::pair<int,std::string> &&”
        with
        [
            _Ty=std::pair<int,std::string>
        ]
        and
        [
            _Kty=std::string
,            _Ty=int
        ]
        原因如下:  无法从“const std::pair<const _Kty,_Ty>”转换为“std::pair<int,std::string>”
        with
        [
            _Kty=std::string
,            _Ty=int
        ]
        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符


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-11 00:11:13, Gzip enabled