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_29713344_18934.c:4:1: error: expected identifier or '(' before '/' token
 // #define cases(t) for (int cas = 1; cas <= (int)t; ++cas)
 ^
0_0_29713344_18934.c:4:4: error: stray '#' in program
 // #define cases(t) for (int cas = 1; cas <= (int)t; ++cas)
    ^
0_0_29713344_18934.c:4:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token
 // #define cases(t) for (int cas = 1; cas <= (int)t; ++cas)
                                           ^
0_0_29713344_18934.c:4:54: error: expected identifier or '(' before '++' token
 // #define cases(t) for (int cas = 1; cas <= (int)t; ++cas)
                                                      ^
0_0_29713344_18934.c: In function 'main':
0_0_29713344_18934.c:23:26: error: 'r' undeclared (first use in this function)
         scanf("%lf%lf", &r, &h);
                          ^
0_0_29713344_18934.c:23:26: note: each undeclared identifier is reported only once for each function it appears in
0_0_29713344_18934.c:23:30: error: 'h' undeclared (first use in this function)
         scanf("%lf%lf", &r, &h);
                              ^


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-26 07:32:44, Gzip enabled