@@ -0,0 +1,1260 @@
+package com.dw.googlecodejam;%0A%0Aimport java.lang.*;%0Aimport java.util.*;%0Aimport java.io.*;%0A%0Apublic class googlecodejam_2016_A1 %7B%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09// TODO Auto-generated method stub%0A        FileInputStream instream = null;%0A        PrintStream outstream = null;%0A        %0A        try%7B%0A            instream = new FileInputStream(%221.txt%22);%0A            outstream = new PrintStream(%221.out%22);%0A            System.setIn(instream);%0A            System.setOut(outstream);%0A        %7D%0A        catch(Exception e)%7B%0A            System.err.println(%22Error Occurred%22);%0A        %7D%0A%0A        Scanner in = new Scanner(System.in);%0A        int T = in.nextInt();%0A%0A        for(;in.hasNext();)%7B%0A            for(int j=0;j%3CT;j++)%7B%0A            %09%0A            %09String wholeLine = in.nextLine();%0A            %09String%5B%5D t = wholeLine.split(%22 %22);%0A            %09//Parse Integer.parse string to int or some other things to go%0A                System.out.println(in.nextInt() + %22 %22 + in.nextInt());%0A            %7D%0A        %7D%0A%0A        String%5B%5D strings = %7B %22 Hello %22, %22 This %22, %22is %22, %22Sorting %22, %22Example%22 %7D;%0A        Arrays.sort(strings);%0A%0A        for(int j=0;j%3Cstrings.length;j++)%0A        System.out.println(strings%5Bj%5D);%0A%0A        System.err.println(%22done.%22);%0A        return;%0A%0A%09%7D%0A%0A%7D%0A

add google codejam java version