fork download
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.io.*;import java.math.*;import java.math.BigInteger;import java.util.StringTokenizer;
  4.  
  5. /* Name of the class has to be "Main" only if the class is public. */
  6. class Ideone
  7. {
  8. public static void main (String[] args) throws java.lang.Exception
  9. {//BigInteger bi1, bi2, bi3;
  10. long t,j,n;
  11. int i,x;
  12.  
  13. BigInteger u,sum,temp,m;
  14. BigInteger[] a=new BigInteger[100009]; long[] b=new long[100009];
  15. long mm=1000000007,f;
  16. Scanner har=new Scanner(System.in);
  17.  
  18.  
  19.  
  20. t=har.nextInt();
  21. for(f=0;f<t;f++)
  22. { temp = BigInteger.valueOf(1); sum = BigInteger.valueOf(0); u = BigInteger.valueOf(0);
  23.  
  24.  
  25. n=har.nextInt(); x=har.nextInt(); m=har.nextBigInteger();//String line = br.readLine();
  26. //String line = br.readLine(); // to read multiple integers line
  27. //String[] strs = line.trim().split("\\s+");
  28. //String[] s1 = br.readLine().split(" ");
  29.  
  30. //StringTokenizer st = new StringTokenizer(br.readLine());
  31. for(i=1;i<=n;i++)
  32. {b[i]=har.nextInt();
  33.  
  34.  
  35. //b[i] = Integer.parseInt(st.nextToken());
  36. //b[i] = Long.parseLong(System.console().readLine());
  37.  
  38. //b[i]=Long.parseLong(s1[i-1]);
  39. }
  40.  
  41. }
  42. }
  43. }
Success #stdin #stdout 0.13s 321280KB
stdin
1 
3 3 3
1 2 3
stdout
Standard output is empty