fork(1) 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.  
  14. // 12345
  15. // 12345
  16. // 12345
  17. // 12345
  18. // 12345
  19.  
  20. for(int a=1;a<=5;a++){
  21. System.out.print(a);
  22. }
  23. System.out.println(" ");
  24. for(int b=1;b<=5;b++){
  25. System.out.print(b);
  26. }
  27. System.out.println(" ");
  28. for(int c=1;c<=5;c++){
  29. System.out.print(c);
  30. }
  31. System.out.println(" ");
  32. for(int d=1;d<=5;d++){
  33. System.out.print(d);
  34. }
  35. System.out.println(" ");
  36. for(int e=1;e<=5;e++){
  37. System.out.print(e);
  38. }
  39. }
  40. }
Success #stdin #stdout 0.08s 46888KB
stdin
Standard input is empty
stdout
12345 
12345 
12345 
12345 
12345