@@ -0,0 +1,457 @@
+import java.io.*;%0Aimport java.util.*;%0A%0Apublic class Solution %7B%0A    %0A    private static long solution(int%5B%5D a) %7B%0A        long result = 0L;%0A        return result;%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        Scanner in = new Scanner(System.in);%0A        int t = in.nextInt();%0A        for (int i = 0; i %3C t; i++) %7B%0A            int n = in.nextInt();%0A            int%5B%5D a = new int%5Bn%5D;%0A            System.out.println(solution(a));%0A        %7D%0A    %7D%0A%7D%0A

Create Solution.java