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_10989772_3150.c: In function `main':
0_0_10989772_3150.c:13: error: syntax error before '/' token
0_0_10989772_3150.c:14: error: syntax error before ')' token
0_0_10989772_3150.c:18: error: `sum' undeclared (first use in this function)
0_0_10989772_3150.c:18: error: (Each undeclared identifier is reported only once
0_0_10989772_3150.c:18: error: for each function it appears in.)
0_0_10989772_3150.c:18: error: syntax error before '/' token
0_0_10989772_3150.c:29: error: syntax error before '/' token
0_0_10989772_3150.c:35: error: `flag' undeclared (first use in this function)
0_0_10989772_3150.c:36: error: syntax error before '/' token
0_0_10989772_3150.c: At top level:
0_0_10989772_3150.c:39: error: syntax error before "for"
0_0_10989772_3150.c:47: error: syntax error before string constant
0_0_10989772_3150.c:47: error: conflicting types for 'printf'
0_0_10989772_3150.c:47: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
0_0_10989772_3150.c:47: error: conflicting types for 'printf'
0_0_10989772_3150.c:47: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
0_0_10989772_3150.c:50: error: syntax error before string constant


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-25 04:17:35, Gzip enabled