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_39765192_31670.cpp
0_0_39765192_31670.cpp(42) : error C2664: “void std::priority_queue<std::tuple<int,int,int>,std::vector<std::tuple<int,int,int>,std::allocator<_Ty>>,std::greater<void>>::push(const std::tuple<int,int,int> &)”: 无法将参数 1 从“initializer-list”转换为“std::tuple<int,int,int> &&”
        with
        [
            _Ty=std::tuple<int,int,int>
        ]
        原因如下:  无法从“initializer-list”转换为“std::tuple<int,int,int>”
        无构造函数可以接受源类型,或构造函数重载决策不明确
0_0_39765192_31670.cpp(45) : error C2143: 语法错误 : 缺少“;”(在“[”的前面)
0_0_39765192_31670.cpp(45) : error C2337: “currentCost”: 未找到特性
0_0_39765192_31670.cpp(45) : error C2337: “currentCity”: 未找到特性
0_0_39765192_31670.cpp(45) : error C2337: “currentFuel”: 未找到特性
0_0_39765192_31670.cpp(45) : error C2143: 语法错误 : 缺少“;”(在“=”的前面)
0_0_39765192_31670.cpp(48) : error C2065: “currentCity”: 未声明的标识符
0_0_39765192_31670.cpp(49) : error C2065: “currentCost”: 未声明的标识符
0_0_39765192_31670.cpp(53) : error C2065: “currentCost”: 未声明的标识符
0_0_39765192_31670.cpp(53) : error C2065: “currentCity”: 未声明的标识符
0_0_39765192_31670.cpp(53) : error C2065: “currentFuel”: 未声明的标识符
0_0_39765192_31670.cpp(57) : error C2065: “currentFuel”: 未声明的标识符
0_0_39765192_31670.cpp(58) : error C2065: “currentCost”: 未声明的标识符
0_0_39765192_31670.cpp(58) : error C2065: “currentCity”: 未声明的标识符
0_0_39765192_31670.cpp(60) : error C2065: “currentCity”: 未声明的标识符
0_0_39765192_31670.cpp(60) : error C2065: “currentFuel”: 未声明的标识符
0_0_39765192_31670.cpp(61) : error C2065: “currentCity”: 未声明的标识符
0_0_39765192_31670.cpp(61) : error C2065: “currentFuel”: 未声明的标识符
0_0_39765192_31670.cpp(62) : error C2065: “currentCity”: 未声明的标识符
0_0_39765192_31670.cpp(62) : error C2065: “currentFuel”: 未声明的标识符
0_0_39765192_31670.cpp(62) : fatal error C1903: 无法从以前的错误中恢复;正在停止编译


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-02-17 07:26:09, Gzip enabled