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_27473474_27792.cpp: In function 'int main()':
0_0_27473474_27792.cpp:14:16: error: 'sqrt' was not declared in this scope
   v0=sqrt(2*g*h);
                ^
0_0_27473474_27792.cpp:15:23: error: 'atan2' was not declared in this scope
   double ans=atan2(b,a);
                       ^
0_0_27473474_27792.cpp:16:16: error: 'cos' was not declared in this scope
   v1=v0*cos(ans),v2=v0*sin(ans);
                ^
0_0_27473474_27792.cpp:16:31: error: 'sin' was not declared in this scope
   v1=v0*cos(ans),v2=v0*sin(ans);
                               ^


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-26 15:11:17, Gzip enabled