@@ -0,0 +1,944 @@
+import java.util.Scanner;%0A%0Apublic class Main %7B%0A%0A    private static final double EPS = 1e-10; // 0.0000000001%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        Scanner sc = new Scanner(System.in);%0A%0A        while (sc.hasNext()) %7B%0A%0A            double ax = sc.nextDouble();%0A            double ay = sc.nextDouble();%0A            double bx = sc.nextDouble();%0A            double by = sc.nextDouble();%0A            double cx = sc.nextDouble();%0A            double cy = sc.nextDouble();%0A            double dx = sc.nextDouble();%0A            double dy = sc.nextDouble();%0A%0A            double xab = ax - bx;%0A            double yab = ay - by;%0A            double xcd = cx - dx;%0A            double ycd = cy - dy;%0A%0A            if (xab * xcd + yab * ycd %3C  EPS &&%0A                xab * xcd + yab * ycd %3E -EPS   ) %7B%0A%0A                System.out.println(%22YES%22);%0A%0A            %7D else %7B%0A%0A                System.out.println(%22NO%22);%0A%0A            %7D%0A%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

Create : 0058