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_33911879_31482.cpp:1:14: error: stray '#' in program
 (int)(16*ans)#include<bits/stdc++.h>
              ^
0_0_33911879_31482.cpp:1:2: error: expected unqualified-id before 'int'
 (int)(16*ans)#include<bits/stdc++.h>
  ^
0_0_33911879_31482.cpp:1:2: error: expected ')' before 'int'
0_0_33911879_31482.cpp: In function 'double f(long long int)':
0_0_33911879_31482.cpp:25:31: error: 'powf' was not declared in this scope
         ans=ans+1.0/(powf(16,k)*(8.0*(k+n-1)+x));
                               ^
0_0_33911879_31482.cpp: In function 'int main()':
0_0_33911879_31482.cpp:32:25: error: 'scanf' was not declared in this scope
     while(~scanf("%d",&T))
                         ^
0_0_33911879_31482.cpp:41:42: error: 'printf' was not declared in this scope
             printf("Case #%d: %lld ",kk,n);
                                          ^


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-06-16 23:57:04, Gzip enabled