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_21323383_21099.cpp: In function 'int main()':
0_0_21323383_21099.cpp:3:5: error: 'LL' was not declared in this scope
     LL n, Cas = 0;  
     ^
0_0_21323383_21099.cpp:4:26: error: 'n' was not declared in this scope
     while(scanf("%lld", &n) != EOF) {  
                          ^
0_0_21323383_21099.cpp:5:34: error: 'Cas' was not declared in this scope
         printf("Case #%lld: ", ++Cas);  
                                  ^
0_0_21323383_21099.cpp:6:30: error: 'log10' was not declared in this scope
         double ans = log10(2.) / log10(10.);  
                              ^
0_0_21323383_21099.cpp:7:12: error: expected ';' before 't'
         LL t = floor(n * ans);  
            ^
0_0_21323383_21099.cpp:8:26: error: 't' was not declared in this scope
         printf("%lld\n", t);  
                          ^


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-19 05:44:50, Gzip enabled