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. Random r = new Random();
  13. byte[] arr = new byte[100];
  14. r.nextBytes(arr);
  15. for(int i = 0; i < arr.length; i++){
  16. System.out.println(arr[i]);
  17. }
  18. }
  19. }
Success #stdin #stdout 0.05s 4386816KB
stdin
Standard input is empty
stdout
-12
-89
-94
-55
-100
-55
-115
92
103
1
38
76
-50
-117
-20
-65
-32
-119
-120
-60
-64
40
-112
70
8
-54
-80
-38
-44
-118
101
-8
-29
17
106
18
-101
-88
25
15
2
-113
-74
16
15
-76
25
10
126
71
-28
103
26
-29
26
-16
13
-17
97
55
18
-15
-100
88
-81
0
-87
-81
0
-27
-37
20
-61
30
111
22
-2
-114
117
-5
-122
68
-77
-102
-25
30
75
73
78
31
2
45
40
65
103
-20
-8
-62
-58
97