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_14806373_21085.cpp
0_0_14806373_21085.cpp(25) : error C2146: 语法错误: 缺少“;”(在标识符“p”的前面)
0_0_14806373_21085.cpp(25) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_14806373_21085.cpp(51) : error C2228: “.clear”的左边必须有类/结构/联合
        类型是“int [150005]”
0_0_14806373_21085.cpp(55) : error C2228: “.name”的左边必须有类/结构/联合
        类型是“int”
0_0_14806373_21085.cpp(56) : error C2228: “.score”的左边必须有类/结构/联合
        类型是“int”
0_0_14806373_21085.cpp(57) : error C2228: “.index”的左边必须有类/结构/联合
        类型是“int”
0_0_14806373_21085.cpp(73) : error C2664: “void std::priority_queue<Person,std::vector<_Ty,std::allocator<_Ty>>,std::less<_Ty>>::push(const Person &)”: 无法将参数 1 从“int”转换为“Person &&”
        with
        [
            _Ty=Person
        ]
        原因如下:  无法从“int”转换为“Person”
        无构造函数可以接受源类型,或构造函数重载决策不明确


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-17 02:37:00, Gzip enabled