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

511659_0_0_7155.c: In function `main':
511659_0_0_7155.c:14: error: syntax error before '/' token
511659_0_0_7155.c:28: error: syntax error before '/' token
511659_0_0_7155.c: At top level:
511659_0_0_7155.c:37: error: syntax error before "while"
511659_0_0_7155.c:42: error: conflicting types for 'sum'
511659_0_0_7155.c:36: error: previous declaration of 'sum' was here
511659_0_0_7155.c:42: error: initializer element is not constant
511659_0_0_7155.c:43: error: redefinition of 'sum'
511659_0_0_7155.c:42: error: previous definition of 'sum' was here
511659_0_0_7155.c:43: error: redefinition of 'sum'
511659_0_0_7155.c:42: error: previous definition of 'sum' was here
511659_0_0_7155.c:43: error: initializer element is not constant
511659_0_0_7155.c:44: error: syntax error before string constant
511659_0_0_7155.c:44: error: conflicting types for 'printf'
511659_0_0_7155.c:44: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
511659_0_0_7155.c:44: error: conflicting types for 'printf'
511659_0_0_7155.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-06-26 20:43:29, Gzip enabled