@@ -0,0 +1,963 @@
+//https://www.hackerrank.com/challenges/rectangular-game%0Aimport java.io.*;%0A%0Apublic class Solution %7B%0A%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        %0A        //INPUT%0A        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));%0A        byte N = Byte.parseByte(br.readLine());%0A        int%5B%5D Ys = new int%5BN%5D;%0A        int%5B%5D Xs = new int%5BN%5D;%0A        for(byte i = 0; i %3C N; ++i)%7B%0A            String%5B%5D input = br.readLine().split(%22 %22);%0A            Ys%5Bi%5D = Integer.parseInt(input%5B0%5D);%0A            Xs%5Bi%5D = Integer.parseInt(input%5B1%5D);%0A        %7D%0A        %0A        //SOLVE%0A        long numXs = ((long)min(Ys))*min(Xs);%0A        %0A        //OUTPUT%0A        System.out.print(numXs);%0A    %7D%0A    %0A    private static int min(int%5B%5D arr)%7B%0A        int min = arr%5B0%5D;%0A        int n = arr.length;%0A        for(int i = 1; i %3C n; ++i)%7B%0A            if (arr%5Bi%5D %3C min)%7B%0A                min = arr%5Bi%5D;%0A            %7D%0A        %7D%0A        return min;%0A    %7D%0A%7D%0A

Create rectangular-game.java