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_37989460_10049.cpp
0_0_37989460_10049.cpp(2) : error C2146: 语法错误: 缺少“;”(在标识符“sum”的前面)
0_0_37989460_10049.cpp(2) : error C4430: 缺少类型说明符 - 假定为 int。注意:  C++ 不支持默认 int
0_0_37989460_10049.cpp(2) : error C2065: “num_1”: 未声明的标识符
0_0_37989460_10049.cpp(2) : error C2065: “num_2”: 未声明的标识符
0_0_37989460_10049.cpp(3) : error C2448: “sum”: 函数样式初始值设定项类似函数定义
0_0_37989460_10049.cpp(31) : error C2065: “cin”: 未声明的标识符
0_0_37989460_10049.cpp(32) : error C2146: 语法错误: 缺少“;”(在标识符“a”的前面)
0_0_37989460_10049.cpp(32) : error C2065: “a”: 未声明的标识符
0_0_37989460_10049.cpp(32) : error C2065: “b”: 未声明的标识符
0_0_37989460_10049.cpp(33) : error C2065: “cin”: 未声明的标识符
0_0_37989460_10049.cpp(33) : error C2065: “a”: 未声明的标识符
0_0_37989460_10049.cpp(33) : error C2065: “b”: 未声明的标识符
0_0_37989460_10049.cpp(33) : fatal error C1903: 无法从以前的错误中恢复;正在停止编译


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-12-01 14:51:45, Gzip enabled