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_38644350_11418.cpp: In function 'int main()':
0_0_38644350_11418.cpp:10:7: error: 'fabs' was not declared in this scope
   x = fabs(x1-x2);
       ^~~~
0_0_38644350_11418.cpp:10:7: note: suggested alternative: 'labs'
   x = fabs(x1-x2);
       ^~~~
       labs
0_0_38644350_11418.cpp:12:7: error: 'pow' was not declared in this scope
   x = pow(x, 2);
       ^~~
0_0_38644350_11418.cpp:12:7: note: suggested alternative: 'putw'
   x = pow(x, 2);
       ^~~
       putw
0_0_38644350_11418.cpp:14:14: error: 'sqrt' was not declared in this scope
   distance = sqrt(x+y);
              ^~~~
0_0_38644350_11418.cpp:14:14: note: suggested alternative: 'qsort'
   distance = sqrt(x+y);
              ^~~~
              qsort


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-29 06:31:57, Gzip enabled