@@ -0,0 +1,761 @@
+//https://www.hackerrank.com/challenges/sherlock-and-squares%0Aimport java.io.*;%0A%0Apublic class Solution %7B%0A%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        StringBuffer sb = new StringBuffer();%0A        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));%0A        %0A        //INPUT%0A        for(byte T = Byte.parseByte(br.readLine()); T %3E 0; --T)%7B%0A            String%5B%5D input = br.readLine().split(%22 %22);%0A            int A = Integer.parseInt(input%5B0%5D);%0A            int B = Integer.parseInt(input%5B1%5D);%0A            %0A            //SOLVE%0A            int C = (int)(Math.floor(Math.sqrt(B)) - Math.ceil(Math.sqrt(A)) + 1);%0A            sb.append(C + %22%5Cn%22);%0A        %7D%0A        %0A        //OUTPUT%0A        System.out.print(sb);%0A    %7D%0A%7D%0A

Create sherlock-and-squares.java