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

1001284_0_0_30342.c: In function `main':
1001284_0_0_30342.c:6: error: `bool' undeclared (first use in this function)
1001284_0_0_30342.c:6: error: (Each undeclared identifier is reported only once
1001284_0_0_30342.c:6: error: for each function it appears in.)
1001284_0_0_30342.c:6: error: syntax error before "b"
1001284_0_0_30342.c: At top level:
1001284_0_0_30342.c:7: error: invalid initializer
1001284_0_0_30342.c:7: error: conflicting types for 'a'
1001284_0_0_30342.c:7: error: previous definition of 'a' was here
1001284_0_0_30342.c:7: error: invalid initializer
1001284_0_0_30342.c:8: error: invalid initializer
1001284_0_0_30342.c:10: error: syntax error before "for"
1001284_0_0_30342.c:14: error: syntax error before "for"
1001284_0_0_30342.c:14: error: `j' undeclared here (not in a function)
1001284_0_0_30342.c:14: error: syntax error before '<=' token
1001284_0_0_30342.c:21: error: variable-size type declared outside of any function
1001284_0_0_30342.c:21: error: variable-sized object may not be initialized
1001284_0_0_30342.c:21: error: conflicting types for 'a'
1001284_0_0_30342.c:7: error: previous definition of 'a' was here
1001284_0_0_30342.c:21: error: conflicting types for 'a'
1001284_0_0_30342.c:7: error: previous definition of 'a' was here
1001284_0_0_30342.c:21: error: `i' undeclared here (not in a function)
1001284_0_0_30342.c:23: error: syntax error before '}' token
1001284_0_0_30342.c:26: error: syntax error before string constant
1001284_0_0_30342.c:26: error: conflicting types for 'scanf'
1001284_0_0_30342.c:26: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
1001284_0_0_30342.c:26: error: conflicting types for 'scanf'
1001284_0_0_30342.c:26: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
1001284_0_0_30342.c:34: error: `n' undeclared here (not in a function)
1001284_0_0_30342.c:35: error: syntax error before "break"
1001284_0_0_30342.c:38: error: syntax error before string constant
1001284_0_0_30342.c:38: error: conflicting types for 'printf'
1001284_0_0_30342.c:38: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
1001284_0_0_30342.c:38: error: conflicting types for 'printf'
1001284_0_0_30342.c:38: 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-11-23 10:10:56, Gzip enabled