回答編集履歴

1

Update

2022/01/11 06:57

投稿

melian
melian

スコア20655

test CHANGED
@@ -1,16 +1,20 @@
1
1
  ```python
2
2
 
3
3
  import random
4
+
5
+ import time
4
6
 
5
7
 
6
8
 
7
9
  def make_client(n, zupper):
8
10
 
9
- random.seed(5)
11
+ random.seed(time.time())
10
12
 
11
- return [[random.randint(*i) for _ in range(n)]
13
+ return [[random.randint(*i)
12
14
 
13
- for i in ((20, 100), (0, 1), (0, 1), (0, zupper), (0, zupper))]
15
+ for i in ((20, 100), (0, 1), (0, 1), (0, zupper), (0, zupper))]
16
+
17
+ for _ in range(n)]
14
18
 
15
19
 
16
20
 
@@ -32,14 +36,14 @@
32
36
 
33
37
  #
34
38
 
35
- [[99, 52, 65, 87, 23],
39
+ [[99, 1, 1, 67, 3],
36
40
 
37
- [1, 0, 0, 0, 0],
41
+ [79, 0, 0, 20, 14],
38
42
 
39
- [1, 1, 0, 1, 0],
43
+ [67, 1, 0, 48, 69],
40
44
 
41
- [73, 31, 1, 27, 52],
45
+ [33, 0, 0, 27, 52],
42
46
 
43
- [35, 23, 49, 20, 9]]
47
+ [55, 0, 1, 20, 9]]
44
48
 
45
49
  ```