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_25348320_20269.cpp
0_0_25348320_20269.cpp(1) : error C2143: 语法错误 : 缺少“;”(在“<”的前面)
0_0_25348320_20269.cpp(1) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
VC2013\INCLUDE\sal.h(2381) : error C2143: 语法错误 : 缺少“;”(在“{”的前面)
VC2013\INCLUDE\sal.h(2381) : error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
0_0_25348320_20269.cpp(24) : error C2228: “.clear”的左边必须有类/结构/联合
        类型是“std::vector<int,std::allocator<_Ty>> [100010]”
        with
        [
            _Ty=int
        ]
0_0_25348320_20269.cpp(25) : error C2440: “=”: 无法从“int”转换为“int [100010]”
        没有转换为数组类型,但有转换为数组的引用或指针
0_0_25348320_20269.cpp(26) : error C2440: “=”: 无法从“int”转换为“int [100010]”
        没有转换为数组类型,但有转换为数组的引用或指针
0_0_25348320_20269.cpp(34) : error C2228: “.push_back”的左边必须有类/结构/联合
        类型是“std::vector<int,std::allocator<_Ty>> [100010]”
        with
        [
            _Ty=int
        ]
0_0_25348320_20269.cpp(36) : error C2105: “++”需要左值
0_0_25348320_20269.cpp(41) : error C2440: “=”: 无法从“int [100010]”转换为“int [2]”
        没有使该转换得以执行的上下文
0_0_25348320_20269.cpp(42) : error C2440: “=”: 无法从“int”转换为“int [2]”
        没有转换为数组类型,但有转换为数组的引用或指针
0_0_25348320_20269.cpp(46) : error C2446: “==”: 没有从“int”到“int *”的转换
        从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换
0_0_25348320_20269.cpp(46) : error C2040: “==”:“int [100010]”与“int”的间接寻址级别不同
0_0_25348320_20269.cpp(56) : error C2440: “初始化”: 无法从“std::vector<int,std::allocator<_Ty>>”转换为“int”
        with
        [
            _Ty=int
        ]
        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
0_0_25348320_20269.cpp(72) : error C2440: “=”: 无法从“int [2]”转换为“int”
        没有使该转换得以执行的上下文
0_0_25348320_20269.cpp(73) : error C2440: “=”: 无法从“int [2]”转换为“int”
        没有使该转换得以执行的上下文
0_0_25348320_20269.cpp(75) : error C2440: “=”: 无法从“int”转换为“int [100010]”
        没有转换为数组类型,但有转换为数组的引用或指针
0_0_25348320_20269.cpp(90) : error C2440: “=”: 无法从“const int *”转换为“int [2]”
        没有转换为数组类型,但有转换为数组的引用或指针
0_0_25348320_20269.cpp(91) : error C2440: “=”: 无法从“int *”转换为“int [2]”
        没有转换为数组类型,但有转换为数组的引用或指针
0_0_25348320_20269.cpp(95) : error C2106: “=”: 左操作数必须为左值


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.001000(s) query 1, Server time : 2025-02-18 16:47:31, Gzip enabled