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_20982535_25083.cpp:9:30: error: stray '#' in program
   printf("Case %d: %.4f\n", ++T, (q + 1.0) / (p + 2));
                              ^
0_0_20982535_25083.cpp:9:35: error: stray '#' in program
   printf("Case %d: %.4f\n", ++T, (q + 1.0) / (p + 2));
                                   ^
0_0_20982535_25083.cpp:9:46: error: stray '#' in program
   printf("Case %d: %.4f\n", ++T, (q + 1.0) / (p + 2));
                                              ^
0_0_20982535_25083.cpp:9:62: error: stray '#' in program
   printf("Case %d: %.4f\n", ++T, (q + 1.0) / (p + 2));
                                                              ^
0_0_20982535_25083.cpp: In function 'int main()':
0_0_20982535_25083.cpp:9:31: error: lvalue required as unary '&' operand
   printf("Case %d: %.4f\n", ++T, (q + 1.0) / (p + 2));
                               ^
0_0_20982535_25083.cpp:9:36: error: lvalue required as unary '&' operand
   printf("Case %d: %.4f\n", ++T, (q + 1.0) / (p + 2));
                                    ^
0_0_20982535_25083.cpp:9:49: error: expected ')' before ';' token
   printf("Case %d: %.4f\n", ++T, (q + 1.0) / (p + 2));
                                                 ^
0_0_20982535_25083.cpp:9:54: error: expected ';' before ')' token
   printf("Case %d: %.4f\n", ++T, (q + 1.0) / (p + 2));
                                                      ^
0_0_20982535_25083.cpp:9:68: error: expected ';' before ')' token
   printf("Case %d: %.4f\n", ++T, (q + 1.0) / (p + 2));
                                                                    ^


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-30 07:35:35, Gzip enabled