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_22696434_29746.cpp
0_0_22696434_29746.cpp(1) : error C2146: 语法错误: 缺少“;”(在标识符“math”的前面)
0_0_22696434_29746.cpp(1) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_22696434_29746.cpp(2) : error C2146: 语法错误: 缺少“;”(在标识符“n”的前面)
0_0_22696434_29746.cpp(2) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_22696434_29746.cpp(2) : error C2143: 语法错误 : 缺少“;”(在“:”的前面)
0_0_22696434_29746.cpp(3) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_22696434_29746.cpp(3) : error C2143: 语法错误 : 缺少“;”(在“:”的前面)
0_0_22696434_29746.cpp(3) : error C2143: 语法错误 : 缺少“]”(在“常量”的前面)
0_0_22696434_29746.cpp(3) : error C2058: 常量表达式不是整型
0_0_22696434_29746.cpp(3) : error C2466: 不能分配常量大小为 0 的数组
0_0_22696434_29746.cpp(3) : error C2143: 语法错误 : 缺少“;”(在“常量”的前面)
0_0_22696434_29746.cpp(5) : error C2146: 语法错误: 缺少“;”(在标识符“readln”的前面)
0_0_22696434_29746.cpp(5) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_22696434_29746.cpp(6) : error C2059: 语法错误:“for”
0_0_22696434_29746.cpp(6) : error C2059: 语法错误:“=”
0_0_22696434_29746.cpp(8) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_22696434_29746.cpp(8) : error C2078: 初始值设定项太多
0_0_22696434_29746.cpp(9) : error C2059: 语法错误:“for”
0_0_22696434_29746.cpp(9) : error C2059: 语法错误:“=”
0_0_22696434_29746.cpp(11) : error C2059: 语法错误:“=”
0_0_22696434_29746.cpp(13) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_22696434_29746.cpp(13) : error C2086: “int readln”: 重定义
        0_0_22696434_29746.cpp(5) : 参见“readln”的声明
0_0_22696434_29746.cpp(14) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_22696434_29746.cpp(15) : error C2143: 语法错误 : 缺少“]”(在“,”的前面)
0_0_22696434_29746.cpp(15) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_22696434_29746.cpp(15) : error C2040: “g”:“int [1]”与“int”的间接寻址级别不同
0_0_22696434_29746.cpp(15) : error C2059: 语法错误:“常量”
0_0_22696434_29746.cpp(15) : error C2059: 语法错误:“=”
0_0_22696434_29746.cpp(16) : error C2059: 语法错误:“for”
0_0_22696434_29746.cpp(16) : error C2059: 语法错误:“=”
0_0_22696434_29746.cpp(17) : error C2059: 语法错误:“=”
0_0_22696434_29746.cpp(19) : error C2059: 语法错误:“=”
0_0_22696434_29746.cpp(20) : error C2059: 语法错误:“for”
0_0_22696434_29746.cpp(20) : error C2059: 语法错误:“=”
0_0_22696434_29746.cpp(22) : error C2059: 语法错误:“=”
0_0_22696434_29746.cpp(23) : error C2059: 语法错误:“for”
0_0_22696434_29746.cpp(23) : error C2059: 语法错误:“=”
0_0_22696434_29746.cpp(25) : error C2059: 语法错误:“=”
0_0_22696434_29746.cpp(26) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_22696434_29746.cpp(26) : error C2086: “int end”: 重定义
        0_0_22696434_29746.cpp(14) : 参见“end”的声明
0_0_22696434_29746.cpp(27) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_22696434_29746.cpp(27) : error C2086: “int end”: 重定义
        0_0_22696434_29746.cpp(14) : 参见“end”的声明
0_0_22696434_29746.cpp(28) : error C2109: 下标要求数组或指针类型
0_0_22696434_29746.cpp(28) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_22696434_29746.cpp(29) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_22696434_29746.cpp(29) : error C2086: “int end”: 重定义
        0_0_22696434_29746.cpp(14) : 参见“end”的声明
0_0_22696434_29746.cpp(30) : error C2143: 语法错误 : 缺少“;”(在“.”的前面)
0_0_22696434_29746.cpp(30) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_22696434_29746.cpp(30) : error C2086: “int end”: 重定义
        0_0_22696434_29746.cpp(14) : 参见“end”的声明


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-17 07:24:35, Gzip enabled