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_25360468_24515.cpp
0_0_25360468_24515.cpp(9) : error C2065: “LL”: 未声明的标识符
0_0_25360468_24515.cpp(9) : error C2923: “std::set”: 对于参数“_Kty”,“LL”不是有效的 模板 类型变量
0_0_25360468_24515.cpp(9) : error C2133: “s”: 未知的大小
0_0_25360468_24515.cpp(9) : error C2512: “std::set”: 没有合适的默认构造函数可用
0_0_25360468_24515.cpp(10) : error C2065: “LL”: 未声明的标识符
0_0_25360468_24515.cpp(10) : error C2923: “std::vector”: 对于参数“_Ty”,“LL”不是有效的 模板 类型变量
0_0_25360468_24515.cpp(10) : error C2133: “v”: 未知的大小
0_0_25360468_24515.cpp(10) : error C2512: “std::vector”: 没有合适的默认构造函数可用
0_0_25360468_24515.cpp(11) : error C2146: 语法错误: 缺少“;”(在标识符“a”的前面)
0_0_25360468_24515.cpp(11) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_25360468_24515.cpp(12) : error C2146: 语法错误: 缺少“)”(在标识符“n”的前面)
0_0_25360468_24515.cpp(12) : error C2182: “init”: 非法使用“void”类型
0_0_25360468_24515.cpp(12) : error C2059: 语法错误:“)”
0_0_25360468_24515.cpp(13) : error C2143: 语法错误 : 缺少“;”(在“{”的前面)
0_0_25360468_24515.cpp(13) : error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
0_0_25360468_24515.cpp(35) : error C2662: “void std::_Tree<_Traits>::clear(void) throw()”: 不能将“this”指针从“std::set”转换为“std::_Tree<_Traits> &”
        原因如下:  无法从“std::set”转换为“std::_Tree<_Traits>”
        转换要求第二个用户定义的转换运算符或构造函数
0_0_25360468_24515.cpp(36) : error C2146: 语法错误: 缺少“;”(在标识符“sum”的前面)
0_0_25360468_24515.cpp(36) : error C2065: “sum”: 未声明的标识符
0_0_25360468_24515.cpp(40) : error C2065: “sum”: 未声明的标识符
0_0_25360468_24515.cpp(42) : error C2065: “sum”: 未声明的标识符
0_0_25360468_24515.cpp(43) : error C2146: 语法错误: 缺少“;”(在标识符“ans”的前面)
0_0_25360468_24515.cpp(43) : error C2065: “ans”: 未声明的标识符
0_0_25360468_24515.cpp(43) : error C2065: “sum1”: 未声明的标识符
0_0_25360468_24515.cpp(44) : error C2065: “autoit”: 未声明的标识符
0_0_25360468_24515.cpp(44) : error C2663: “std::_Tree<_Traits>::begin”: 2 个重载没有“this”指针的合法转换
0_0_25360468_24515.cpp(44) : error C2065: “it”: 未声明的标识符
0_0_25360468_24515.cpp(44) : error C2663: “std::_Tree<_Traits>::end”: 2 个重载没有“this”指针的合法转换
0_0_25360468_24515.cpp(46) : error C2146: 语法错误: 缺少“;”(在标识符“num1”的前面)
0_0_25360468_24515.cpp(46) : error C2065: “num1”: 未声明的标识符
0_0_25360468_24515.cpp(46) : error C2065: “it”: 未声明的标识符
0_0_25360468_24515.cpp(47) : error C2065: “sum1”: 未声明的标识符
0_0_25360468_24515.cpp(48) : error C2146: 语法错误: 缺少“;”(在标识符“cnt”的前面)
0_0_25360468_24515.cpp(48) : error C2065: “cnt”: 未声明的标识符
0_0_25360468_24515.cpp(49) : error C2662: “void std::vector<_Ty,_Alloc>::clear(void) throw()”: 不能将“this”指针从“std::vector”转换为“std::vector<_Ty,_Alloc> &”
        原因如下:  无法从“std::vector”转换为“std::vector<_Ty,_Alloc>”
        转换要求第二个用户定义的转换运算符或构造函数
0_0_25360468_24515.cpp(52) : error C2146: 语法错误: 缺少“;”(在标识符“num2”的前面)
0_0_25360468_24515.cpp(52) : error C2065: “num2”: 未声明的标识符
0_0_25360468_24515.cpp(52) : error C2065: “num1”: 未声明的标识符
0_0_25360468_24515.cpp(53) : error C2065: “num2”: 未声明的标识符
0_0_25360468_24515.cpp(54) : error C2065: “num2”: 未声明的标识符
0_0_25360468_24515.cpp(55) : error C2065: “sum1”: 未声明的标识符
0_0_25360468_24515.cpp(55) : error C2065: “num2”: 未声明的标识符
0_0_25360468_24515.cpp(57) : error C2663: “std::vector<_Ty,_Alloc>::begin”: 2 个重载没有“this”指针的合法转换
0_0_25360468_24515.cpp(57) : error C2663: “std::vector<_Ty,_Alloc>::end”: 2 个重载没有“this”指针的合法转换
0_0_25360468_24515.cpp(57) : error C2780: “void std::sort(_RanIt,_RanIt)”: 应输入 2 个参数,却提供了 1 个
        VC2013\INCLUDE\algorithm(3162) : 参见“std::sort”的声明
0_0_25360468_24515.cpp(57) : error C2780: “void std::sort(_RanIt,_RanIt,_Pr)”: 应输入 3 个参数,却提供了 1 个
        VC2013\INCLUDE\algorithm(3153) : 参见“std::sort”的声明
0_0_25360468_24515.cpp(58) : error C2662: “_Vector_alloc<!std::is_empty<_Alloc_types::_Alloc>::value,std::_Vec_base_types<_Ty,_Alloc_types::_Alloc>>::size_type std::vector<_Ty,_Alloc>::size(void) throw() const”: 不能将“this”指针从“std::vector”转换为“const std::vector<_Ty,_Alloc> &”
        原因如下:  无法从“std::vector”转换为“const std::vector<_Ty,_Alloc>”
        转换要求第二个用户定义的转换运算符或构造函数
0_0_25360468_24515.cpp(60) : error C2065: “cnt”: 未声明的标识符
0_0_25360468_24515.cpp(60) : error C2065: “num1”: 未声明的标识符
0_0_25360468_24515.cpp(60) : 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_25360468_24515.cpp(61) : error C2065: “sum1”: 未声明的标识符
0_0_25360468_24515.cpp(61) : error C2065: “num1”: 未声明的标识符
0_0_25360468_24515.cpp(62) : error C2065: “sum1”: 未声明的标识符
0_0_25360468_24515.cpp(64) : error C2065: “ans”: 未声明的标识符
0_0_25360468_24515.cpp(64) : error C2065: “cnt”: 未声明的标识符
0_0_25360468_24515.cpp(66) : error C2065: “ans”: 未声明的标识符


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-07-01 08:29:19, Gzip enabled