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

511661_0_0_7015.c: In function `main':
511661_0_0_7015.c:17: error: syntax error before '/' token
511661_0_0_7015.c:31: error: syntax error before '/' token
511661_0_0_7015.c: At top level:
511661_0_0_7015.c:42: error: `x' undeclared here (not in a function)
511661_0_0_7015.c:42: error: `y' undeclared here (not in a function)
511661_0_0_7015.c:43: error: redefinition of 'sum'
511661_0_0_7015.c:42: error: previous definition of 'sum' was here
511661_0_0_7015.c:43: error: initializer element is not constant
511661_0_0_7015.c:44: error: syntax error before string constant
511661_0_0_7015.c:44: error: conflicting types for 'printf'
511661_0_0_7015.c:44: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
511661_0_0_7015.c:44: error: conflicting types for 'printf'
511661_0_0_7015.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-12-02 13:11:35, Gzip enabled