@@ -0,0 +1,721 @@
+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        int rectangleCount = 0;%0A        int parallelogramCount = 0;%0A%0A        while (sc.hasNext()) %7B%0A%0A            String%5B%5D input = sc.next().split(%22,%22);%0A%0A            int a = Integer.parseInt(input%5B0%5D);%0A            int b = Integer.parseInt(input%5B1%5D);%0A            int c = Integer.parseInt(input%5B2%5D);%0A%0A            if (a * a + b * b == c * c) %7B%0A                rectangleCount++;%0A            %7D%0A%0A            if (a == b) %7B%0A                parallelogramCount++;%0A            %7D%0A%0A        %7D%0A%0A        System.out.println(rectangleCount);%0A        System.out.println(parallelogramCount);%0A%0A    %7D%0A%0A%7D%0A

Create : 0032