fork(3) 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. long nut=2*((2*5*7)+1)*((2*2*3*((2*2*2*2*11)+3))+5)*
  13. ((3*5*((2*3*3)+1)*((2*2*2*2*2*3)+1))+2L);
  14. int burner=2*2*2*5;
  15. Random dice = new Random(nut);
  16. for(int i=0;i<6;i++)
  17. System.out.print((dice.nextInt(burner)+3) + " "); // cross your fingers!
  18. System.out.println();
  19. }
  20. }
Success #stdin #stdout 0.07s 380160KB
stdin
Standard input is empty
stdout
4 8 15 16 23 42