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_37368872_21997.cpp: In function 'int main()':
0_0_37368872_21997.cpp:5:34: error: 'scanf' was not declared in this scope
  scanf("%d%d%d%d",&x1,&y1,&x2,&y2);
                                  ^
0_0_37368872_21997.cpp:6:22: error: 'fabs' was not declared in this scope
  a=fabs(x1*x1-(x2*x2));
                      ^
0_0_37368872_21997.cpp:8:12: error: 'sqrt' was not declared in this scope
  m=sqrt(a+b); 
            ^
0_0_37368872_21997.cpp:9:17: error: 'printf' was not declared in this scope
  printf("%.2f",m); 
                 ^


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-09-30 11:36:43, Gzip enabled