@@ -0,0 +1,1046 @@
+import java.util.Scanner;%0A%0Apublic class Main %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        Scanner sc = new Scanner(System.in);%0A%0A        while (sc.hasNextDouble()) %7B%0A%0A            double x1 = sc.nextDouble();%0A            double y1 = sc.nextDouble();%0A%0A            double x2 = sc.nextDouble();%0A            double y2 = sc.nextDouble();%0A%0A            double x3 = sc.nextDouble();%0A            double y3 = sc.nextDouble();%0A%0A            double xp = sc.nextDouble();%0A            double yp = sc.nextDouble();%0A%0A            double crossProduct1 = (x2 - x1) * (yp - y1) - (y2 - y1) * (xp - x1);%0A%0A            double crossProduct2 = (x3 - x2) * (yp - y2) - (y3 - y2) * (xp - x2);%0A%0A            double crossProduct3 = (x1 - x3) * (yp - y3) - (y1 - y3) * (xp - x3);%0A%0A            if ((0 %3C crossProduct1 && 0 %3C crossProduct2 && 0 %3C crossProduct3) %7C%7C (crossProduct1 %3C 0 && crossProduct2 %3C 0 && crossProduct3 %3C 0)) %7B%0A                System.out.println(%22YES%22);%0A            %7D else %7B%0A                System.out.println(%22NO%22);%0A            %7D%0A%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

Create : 0012