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

511658_0_0_1804.c: In function `main':
511658_0_0_1804.c:14: error: syntax error before '/' token
511658_0_0_1804.c:28: error: syntax error before '/' token
511658_0_0_1804.c: At top level:
511658_0_0_1804.c:37: error: syntax error before "while"
511658_0_0_1804.c:42: error: conflicting types for 'sum'
511658_0_0_1804.c:36: error: previous declaration of 'sum' was here
511658_0_0_1804.c:42: error: initializer element is not constant
511658_0_0_1804.c:43: error: redefinition of 'sum'
511658_0_0_1804.c:42: error: previous definition of 'sum' was here
511658_0_0_1804.c:43: error: redefinition of 'sum'
511658_0_0_1804.c:42: error: previous definition of 'sum' was here
511658_0_0_1804.c:43: error: initializer element is not constant
511658_0_0_1804.c:44: error: syntax error before string constant
511658_0_0_1804.c:44: error: conflicting types for 'printf'
511658_0_0_1804.c:44: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
511658_0_0_1804.c:44: error: conflicting types for 'printf'
511658_0_0_1804.c:44: note: a parameter list with an ellipsis can't match an empty parameter name list declaration


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-11-30 02:04:19, Gzip enabled