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_1369983_6887.c: In function `main':
0_0_1369983_6887.c:6: error: `bool' undeclared (first use in this function)
0_0_1369983_6887.c:6: error: (Each undeclared identifier is reported only once
0_0_1369983_6887.c:6: error: for each function it appears in.)
0_0_1369983_6887.c:6: error: syntax error before "b"
0_0_1369983_6887.c: At top level:
0_0_1369983_6887.c:7: error: invalid initializer
0_0_1369983_6887.c:7: error: conflicting types for 'a'
0_0_1369983_6887.c:7: error: previous definition of 'a' was here
0_0_1369983_6887.c:7: error: invalid initializer
0_0_1369983_6887.c:8: error: invalid initializer
0_0_1369983_6887.c:10: error: syntax error before "for"
0_0_1369983_6887.c:14: error: syntax error before "for"
0_0_1369983_6887.c:14: error: `j' undeclared here (not in a function)
0_0_1369983_6887.c:14: error: syntax error before '<=' token
0_0_1369983_6887.c:21: error: variable-size type declared outside of any function
0_0_1369983_6887.c:21: error: variable-sized object may not be initialized
0_0_1369983_6887.c:21: error: conflicting types for 'a'
0_0_1369983_6887.c:7: error: previous definition of 'a' was here
0_0_1369983_6887.c:21: error: conflicting types for 'a'
0_0_1369983_6887.c:7: error: previous definition of 'a' was here
0_0_1369983_6887.c:21: error: `i' undeclared here (not in a function)
0_0_1369983_6887.c:23: error: syntax error before '}' token
0_0_1369983_6887.c:32: error: `n' undeclared here (not in a function)
0_0_1369983_6887.c:32: error: initializer element is not constant
0_0_1369983_6887.c:39: error: syntax error before "for"
0_0_1369983_6887.c:43: error: syntax error before "break"
0_0_1369983_6887.c:46: error: syntax error before string constant
0_0_1369983_6887.c:46: error: conflicting types for 'printf'
0_0_1369983_6887.c:46: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
0_0_1369983_6887.c:46: error: conflicting types for 'printf'
0_0_1369983_6887.c:46: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
0_0_1369983_6887.c:22: error: storage size of `b' isn't known


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.000000(s) query 1, Server time : 2025-02-18 23:22:47, Gzip enabled