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_9751660_717.c:3: error: syntax error before '/' token
0_0_9751660_717.c: In function `main':
0_0_9751660_717.c:11: error: syntax error before '/' token
0_0_9751660_717.c:19: error: `i' undeclared (first use in this function)
0_0_9751660_717.c:19: error: (Each undeclared identifier is reported only once
0_0_9751660_717.c:19: error: for each function it appears in.)
0_0_9751660_717.c:19: error: `n' undeclared (first use in this function)
0_0_9751660_717.c:19: error: syntax error before ')' token
0_0_9751660_717.c: At top level:
0_0_9751660_717.c:28: error: syntax error before "while"
0_0_9751660_717.c:30: error: conflicting types for 'a'
0_0_9751660_717.c:27: error: previous declaration of 'a' was here
0_0_9751660_717.c:30: error: invalid initializer
0_0_9751660_717.c:31: error: syntax error before "for"
0_0_9751660_717.c:35: error: initializer element is not constant
0_0_9751660_717.c:36: error: syntax error before string constant
0_0_9751660_717.c:36: error: conflicting types for 'printf'
0_0_9751660_717.c:36: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
0_0_9751660_717.c:36: error: conflicting types for 'printf'
0_0_9751660_717.c:36: 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-07-04 16:27:04, Gzip enabled