fork download
  1. /* package whatever; // don't place package name! */
  2.  
  3. import java.util.*;
  4. import java.lang.*;
  5. import java.io.*;
  6.  
  7. /* Name of the class has to be "Main" only if the class is public. */
  8. class Ideone
  9. {
  10. public static void main (String[] args) throws java.lang.Exception
  11. {
  12. // your code goes here
  13. Scanner in = new Scanner(System.in);
  14. int n = in.nextInt();
  15. in.nextLine();
  16. int[][] data = new int[n][];
  17. for (int i = 0; i < n; i++)
  18. {
  19. String[] a = in.nextLine().split(" ");
  20. data[i] = new int[a.length];
  21. for (int j = 0; j < a.length; j++)
  22. data[i][j] = Integer.parseInt(a[j]);
  23. }
  24. }
  25. }
Success #stdin #stdout 0.14s 321344KB
stdin
1
3 1 2 4 4 5 5 1 4 4 5 6 1 6 4 5 2 1 5
stdout
Standard output is empty