@@ -0,0 +1,730 @@
+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.hasNext()) %7B%0A%0A            double xa1 = sc.nextDouble();%0A            double ya1 = sc.nextDouble();%0A            double xa2 = sc.nextDouble();%0A            double ya2 = sc.nextDouble();%0A            double xb1 = sc.nextDouble();%0A            double yb1 = sc.nextDouble();%0A            double xb2 = sc.nextDouble();%0A            double yb2 = sc.nextDouble();%0A%0A            if ((xa1 %3C= xb2) && (xb1 %3C= xa2) && (ya1 %3C= yb2) && (yb1 %3C= ya2)) %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 : 0059