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_32274230_27905.c: In function 'main':
0_0_32274230_27905.c:17:19: error: expected expression before '/' token
    scanf("%d",&a);//Óм¸¸öÂÃ¹Ý 
                   ^
0_0_32274230_27905.c:17:19: error: stray '\323' in program
0_0_32274230_27905.c:17:19: error: stray '\320' in program
0_0_32274230_27905.c:17:19: error: stray '\274' in program
0_0_32274230_27905.c:17:19: error: stray '\270' in program
0_0_32274230_27905.c:17:19: error: stray '\270' in program
0_0_32274230_27905.c:17:19: error: stray '\366' in program
0_0_32274230_27905.c:17:19: error: stray '\302' in program
0_0_32274230_27905.c:17:19: error: stray '\303' in program
0_0_32274230_27905.c:17:19: error: stray '\271' in program
0_0_32274230_27905.c:17:19: error: stray '\335' in program
0_0_32274230_27905.c:20:22: error: 'hotel' undeclared (first use in this function)
    scanf("%d %d %d",&hotel[i].number ,&hotel[i].room ,&hotel[i].price );
                      ^
0_0_32274230_27905.c:20:22: note: each undeclared identifier is reported only once for each function it appears in


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 05:37:01, Gzip enabled