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_39395685_32250.cpp:2:1: error: 'cin' does not name a type
    2 | cin >> x1 >> y1 >> x2 >> y2;
      | ^~~
0_0_39395685_32250.cpp:5:1: error: 'cin' does not name a type
    5 | cin >> a1 >> b1 >> a2 >> b2;
      | ^~~
0_0_39395685_32250.cpp:6:1: error: 'cout' does not name a type
    6 | cout << std::fixed << std::setprecision(2)<<sqrt(pow(x1 - x2, 2) + pow(y1 - y2, 2)) << endl;
      | ^~~~
0_0_39395685_32250.cpp:7:1: error: 'cout' does not name a type
    7 | cout << std::fixed << std::setprecision(2) << sqrt(pow(a1 - a2, 2) + pow(b1 - b2, 2)) << 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-07-01 14:40:16, Gzip enabled