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_39050261_32226.cpp
0_0_39050261_32226.cpp(15) : error C2065: “amp”: 未声明的标识符
0_0_39050261_32226.cpp(15) : error C2143: 语法错误 : 缺少“)”(在“;”的前面)
0_0_39050261_32226.cpp(15) : error C2059: 语法错误:“)”
0_0_39050261_32226.cpp(16) : error C2143: 语法错误 : 缺少“}”(在“;”的前面)
0_0_39050261_32226.cpp(16) : error C2064: 项不会计算为接受 1 个参数的函数
0_0_39050261_32226.cpp(22) : error C2065: “sum”: 未声明的标识符
0_0_39050261_32226.cpp(22) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_39050261_32226.cpp(22) : error C2365: “printf”: 重定义;以前的定义是“函数”
        VC2013\INCLUDE\stdio.h(264) : 参见“printf”的声明
0_0_39050261_32226.cpp(22) : error C2078: 初始值设定项太多
0_0_39050261_32226.cpp(24) : error C2059: 语法错误:“return”
0_0_39050261_32226.cpp(25) : error C2059: 语法错误:“}”
0_0_39050261_32226.cpp(25) : error C2143: 语法错误 : 缺少“;”(在“}”的前面)


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-06-30 17:27:32, Gzip enabled