1013: 求两点间距离
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner cin = new Scanner(System.in);double x1,x2,y1,y2;x1=cin.nextDouble();y1=cin.nextDouble();x2=cin.nextDouble();y2=cin.nextDouble();double d=Math.sqrt(Math.pow((x2-x1),2)+Math.pow((y2-y1),2));System.out.println(String.format("%.2f",d));}
}