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