0_0_38323371_27171.cpp
0_0_38323371_27171.cpp(43) : error C2011: “node”:“struct”类型重定义
0_0_38323371_27171.cpp(4) : 参见“node”的声明
0_0_38323371_27171.cpp(51) : error C2084: 函数“int main(void)”已有主体
0_0_38323371_27171.cpp(12) : 参见“main”的前一个定义
0_0_38323371_27171.cpp(57) : error C2079: “temp”使用未定义的 struct“node”
0_0_38323371_27171.cpp(62) : error C2228: “.pos”的左边必须有类/结构/联合
类型是“int”
0_0_38323371_27171.cpp(63) : error C2228: “.dis”的左边必须有类/结构/联合
类型是“int”
0_0_38323371_27171.cpp(64) : error C2664: “void std::priority_queue<node,std::vector<_Ty,std::allocator<_Ty>>,std::less<_Ty>>::push(const node &)”: 无法将参数 1 从“int”转换为“node &&”
with
[
_Ty=node
]
原因如下: 无法从“int”转换为“node”
源或目标有不完整类型
0_0_38323371_27171.cpp(67) : error C2440: “=”: 无法从“node”转换为“int”
源或目标有不完整类型
0_0_38323371_27171.cpp(70) : error C2228: “.pos”的左边必须有类/结构/联合
类型是“int”
0_0_38323371_27171.cpp(70) : error C2228: “.dis”的左边必须有类/结构/联合
类型是“int”
0_0_38323371_27171.cpp(71) : error C2664: “void std::priority_queue<node,std::vector<_Ty,std::allocator<_Ty>>,std::less<_Ty>>::push(const node &)”: 无法将参数 1 从“int”转换为“node &&”
with
[
_Ty=node
]
原因如下: 无法从“int”转换为“node”
源或目标有不完整类型
0_0_38323371_27171.cpp(75) : error C2228: “.pos”的左边必须有类/结构/联合
类型是“int”
0_0_38323371_27171.cpp(80) : error C2146: 语法错误: 缺少“;”(在标识符“版权声明:本文为CSDN博主「Lesords」的原创文章,遵循CC”的前面)
0_0_38323371_27171.cpp(80) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
0_0_38323371_27171.cpp(80) : error C2143: 语法错误 : 缺少“;”(在“常量”的前面)
|