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

40157_0_32423.c: In function `main':
40157_0_32423.c:17: error: `room' undeclared (first use in this function)
40157_0_32423.c:17: error: (Each undeclared identifier is reported only once
40157_0_32423.c:17: error: for each function it appears in.)
40157_0_32423.c:17: error: syntax error before "r"
40157_0_32423.c:24: error: `r' undeclared (first use in this function)
40157_0_32423.c:35: error: `temp' undeclared (first use in this function)
40157_0_32423.c:44: error: syntax error before "int"
40157_0_32423.c:44: error: syntax error before ')' token
40157_0_32423.c:51: error: syntax error before "else"
40157_0_32423.c:55: error: break statement not within loop or switch
40157_0_32423.c: At top level:
40157_0_32423.c:57: error: syntax error before '}' token
40157_0_32423.c:59: error: syntax error before string constant
40157_0_32423.c:59: error: conflicting types for 'printf'
40157_0_32423.c:59: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
40157_0_32423.c:59: error: conflicting types for 'printf'
40157_0_32423.c:59: 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-07 18:20:25, Gzip enabled