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

156544_0_1626.c: In function `main':
156544_0_1626.c:30: error: syntax error before '/' token
156544_0_1626.c:31: error: syntax error before ')' token
156544_0_1626.c:36: error: `l' undeclared (first use in this function)
156544_0_1626.c:36: error: (Each undeclared identifier is reported only once
156544_0_1626.c:36: error: for each function it appears in.)
156544_0_1626.c:36: error: syntax error before '/' token
156544_0_1626.c:38: error: `i' undeclared (first use in this function)
156544_0_1626.c:38: error: `e' undeclared (first use in this function)
156544_0_1626.c:39: error: `c' undeclared (first use in this function)
156544_0_1626.c:41: error: syntax error before '/' token
156544_0_1626.c: At top level:
156544_0_1626.c:49: error: syntax error before string constant
156544_0_1626.c:49: error: conflicting types for 'printf'
156544_0_1626.c:49: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
156544_0_1626.c:49: error: conflicting types for 'printf'
156544_0_1626.c:49: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
156544_0_1626.c:51: error: `m' undeclared here (not in a function)
156544_0_1626.c:51: error: `n' undeclared here (not in a function)
156544_0_1626.c:52: error: syntax error before string constant
156544_0_1626.c:55: error: syntax error before "for"
156544_0_1626.c:59: error: redefinition of 'flag'
156544_0_1626.c:54: error: previous definition of 'flag' was here
156544_0_1626.c:59: error: syntax error before '+=' token
156544_0_1626.c:65: error: redefinition of 'flag'
156544_0_1626.c:59: error: previous definition of 'flag' was here
156544_0_1626.c:65: error: redefinition of 'flag'
156544_0_1626.c:59: error: previous definition of 'flag' was here
156544_0_1626.c:65: error: syntax error before '+=' token
156544_0_1626.c:69: error: `d' undeclared here (not in a function)
156544_0_1626.c:70: error: syntax error before string constant


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-03-11 13:02:02, Gzip enabled