fork download
  1. import java.io.IOException;
  2. import java.util.Scanner;
  3.  
  4. /**
  5.  * Created by arpit on 15/12/16.
  6.  * www.codechef.com/users/arpit728
  7.  */
  8.  
  9. class MaxXorSubArray {
  10.  
  11. static int a[]=new int[100000];
  12.  
  13.  
  14. public static void main(String[] args) throws IOException {
  15.  
  16. //BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
  17. Scanner sc=new Scanner(System.in);
  18. int t,n;
  19. String[]s;
  20. t=sc.nextInt();
  21. while (t-->0){
  22. n=sc.nextInt();
  23. //s=br.readLine().split("\\s");
  24. for (int i = 0; i < n; i++) {
  25. a[i]=sc.nextInt();
  26. //a[i]=Integer.parseInt(s[i]);
  27. }
  28. System.out.println(0);
  29. }
  30.  
  31. }
  32. }
Success #stdin #stdout 0.07s 4386816KB
stdin
2  5  3  7  7  7  0  5  3  8  2  6  4
stdout
0
0