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_33650654_21288.cpp: In function 'int main(int, const char**)':
0_0_33650654_21288.cpp:10:2: error: 'cin' was not declared in this scope
  cin>>n;
  ^
0_0_33650654_21288.cpp:21:31: error: 'sqrt' was not declared in this scope
         sum=d-0.5*t0*(a*sqrt(x)+b*sqrt(x));
                               ^
0_0_33650654_21288.cpp:22:9: error: 'cout' was not declared in this scope
         cout<<setprecision(20)<<sum<<endl;
         ^
0_0_33650654_21288.cpp:22:38: error: 'endl' was not declared in this scope
         cout<<setprecision(20)<<sum<<endl;
                                      ^


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-22 07:06:57, Gzip enabled