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_24897972_7338.cpp
0_0_24897972_7338.cpp(8) : error C2146: 语法错误: 缺少“;”(在标识符“mpt”的前面)
0_0_24897972_7338.cpp(8) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_24897972_7338.cpp(13) : error C2378: “Point”: 重定义;符号不能由 typedef 重载
        0_0_24897972_7338.cpp(8) : 参见“Point”的声明
0_0_24897972_7338.cpp(15) : error C2146: 语法错误: 缺少“)”(在标识符“a”的前面)
0_0_24897972_7338.cpp(15) : error C2059: 语法错误:“)”
0_0_24897972_7338.cpp(15) : error C2143: 语法错误 : 缺少“;”(在“{”的前面)
0_0_24897972_7338.cpp(15) : error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
0_0_24897972_7338.cpp(29) : error C2146: 语法错误: 缺少“)”(在标识符“a”的前面)
0_0_24897972_7338.cpp(29) : error C2059: 语法错误:“)”
0_0_24897972_7338.cpp(29) : error C2143: 语法错误 : 缺少“;”(在“{”的前面)
0_0_24897972_7338.cpp(29) : error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
0_0_24897972_7338.cpp(33) : error C2923: “std::vector”: 对于参数“_Ty”,“Point”不是有效的 模板 类型变量
        0_0_24897972_7338.cpp(8) : 参见“Point”的声明
        0_0_24897972_7338.cpp(8) : 参见“Point”的声明
0_0_24897972_7338.cpp(35) : error C2678: 二进制“[”: 没有找到接受“std::vector”类型的左操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\vector(1196): 可能是“_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::reference std::vector<_Ty,_Alloc>::operator [](_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::size_type)”
        VC2013\INCLUDE\vector(1180): 或       “_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::const_reference std::vector<_Ty,_Alloc>::operator [](_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::size_type) const”
        尝试匹配参数列表“(std::vector, int)”时
0_0_24897972_7338.cpp(35) : error C2088: “[”: 对于 class 非法
0_0_24897972_7338.cpp(35) : error C2064: 项不会计算为接受 1 个参数的函数
0_0_24897972_7338.cpp(37) : error C2678: 二进制“[”: 没有找到接受“std::vector”类型的左操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\vector(1196): 可能是“_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::reference std::vector<_Ty,_Alloc>::operator [](_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::size_type)”
        VC2013\INCLUDE\vector(1180): 或       “_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::const_reference std::vector<_Ty,_Alloc>::operator [](_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::size_type) const”
        尝试匹配参数列表“(std::vector, int)”时
0_0_24897972_7338.cpp(37) : error C2088: “[”: 对于 class 非法
0_0_24897972_7338.cpp(37) : error C2064: 项不会计算为接受 1 个参数的函数
0_0_24897972_7338.cpp(38) : error C2678: 二进制“[”: 没有找到接受“std::vector”类型的左操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\vector(1196): 可能是“_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::reference std::vector<_Ty,_Alloc>::operator [](_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::size_type)”
        VC2013\INCLUDE\vector(1180): 或       “_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::const_reference std::vector<_Ty,_Alloc>::operator [](_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::size_type) const”
        尝试匹配参数列表“(std::vector, int)”时
0_0_24897972_7338.cpp(38) : error C2088: “[”: 对于 class 非法
0_0_24897972_7338.cpp(38) : error C2064: 项不会计算为接受 1 个参数的函数
0_0_24897972_7338.cpp(39) : error C2678: 二进制“[”: 没有找到接受“std::vector”类型的左操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\vector(1196): 可能是“_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::reference std::vector<_Ty,_Alloc>::operator [](_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::size_type)”
        VC2013\INCLUDE\vector(1180): 或       “_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::const_reference std::vector<_Ty,_Alloc>::operator [](_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::size_type) const”
        尝试匹配参数列表“(std::vector, int)”时
0_0_24897972_7338.cpp(39) : error C2088: “[”: 对于 class 非法
0_0_24897972_7338.cpp(39) : error C2064: 项不会计算为接受 1 个参数的函数
0_0_24897972_7338.cpp(43) : error C2663: “std::vector<_Ty,_Alloc>::begin”: 2 个重载没有“this”指针的合法转换
0_0_24897972_7338.cpp(43) : error C2663: “std::vector<_Ty,_Alloc>::end”: 2 个重载没有“this”指针的合法转换
0_0_24897972_7338.cpp(43) : error C2780: “void std::sort(_RanIt,_RanIt,_Pr)”: 应输入 3 个参数,却提供了 2 个
        VC2013\INCLUDE\algorithm(3153) : 参见“std::sort”的声明
0_0_24897972_7338.cpp(44) : error C2664: “double getMinDistance(std::vector,int,int)”: 无法将参数 1 从“std::vector”转换为“std::vector”
        由于复制构造函数不明确或没有可用的复制构造函数,因此无法复制构造 class“std::vector”
0_0_24897972_7338.cpp(45) : error C2664: “double getMinDistance(std::vector,int,int)”: 无法将参数 1 从“std::vector”转换为“std::vector”
        由于复制构造函数不明确或没有可用的复制构造函数,因此无法复制构造 class“std::vector”
0_0_24897972_7338.cpp(50) : error C2678: 二进制“[”: 没有找到接受“std::vector”类型的左操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\vector(1196): 可能是“_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::reference std::vector<_Ty,_Alloc>::operator [](_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::size_type)”
        VC2013\INCLUDE\vector(1180): 或       “_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::const_reference std::vector<_Ty,_Alloc>::operator [](_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::size_type) const”
        尝试匹配参数列表“(std::vector, int)”时
0_0_24897972_7338.cpp(50) : error C2228: “.x”的左边必须有类/结构/联合
0_0_24897972_7338.cpp(50) : error C2088: “[”: 对于 class 非法
0_0_24897972_7338.cpp(51) : error C2678: 二进制“[”: 没有找到接受“std::vector”类型的左操作数的运算符(或没有可接受的转换)
        VC2013\INCLUDE\vector(1196): 可能是“_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::reference std::vector<_Ty,_Alloc>::operator [](_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::size_type)”
        VC2013\INCLUDE\vector(1180): 或       “_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::const_reference std::vector<_Ty,_Alloc>::operator [](_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::size_type) const”
        尝试匹配参数列表“(std::vector, int)”时
0_0_24897972_7338.cpp(56) : error C2064: 项不会计算为接受 2 个参数的函数
0_0_24897972_7338.cpp(69) : error C2923: “std::vector”: 对于参数“_Ty”,“Point”不是有效的 模板 类型变量
        0_0_24897972_7338.cpp(8) : 参见“Point”的声明
        0_0_24897972_7338.cpp(8) : 参见“Point”的声明
0_0_24897972_7338.cpp(69) : error C2133: “vi”: 未知的大小
0_0_24897972_7338.cpp(69) : error C2512: “std::vector”: 没有合适的默认构造函数可用
0_0_24897972_7338.cpp(71) : error C2146: 语法错误: 缺少“;”(在标识符“point”的前面)
0_0_24897972_7338.cpp(71) : error C2275: “point”: 将此类型用作表达式非法
        0_0_24897972_7338.cpp(10) : 参见“point”的声明
0_0_24897972_7338.cpp(72) : error C2275: “point”: 将此类型用作表达式非法
        0_0_24897972_7338.cpp(10) : 参见“point”的声明
0_0_24897972_7338.cpp(72) : error C2228: “.x”的左边必须有类/结构/联合
        0_0_24897972_7338.cpp(10) : 参见“point”的声明
0_0_24897972_7338.cpp(72) : error C2228: “.y”的左边必须有类/结构/联合
0_0_24897972_7338.cpp(73) : error C2275: “point”: 将此类型用作表达式非法
        0_0_24897972_7338.cpp(10) : 参见“point”的声明
0_0_24897972_7338.cpp(75) : error C2664: “double getMinDistance(std::vector,int,int)”: 无法将参数 1 从“std::vector”转换为“std::vector”
        由于复制构造函数不明确或没有可用的复制构造函数,因此无法复制构造 class“std::vector”


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-10-06 13:25:45, Gzip enabled