Correcting.
This commit is contained in:
12
2023206/rand_input.py
Normal file
12
2023206/rand_input.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import random
|
||||
import sys
|
||||
M = random.randint(10,1000)
|
||||
N = random.randint(10,1000)
|
||||
K = random.randint(10,1000)
|
||||
arr = list(range(0,M))
|
||||
random.shuffle(arr)
|
||||
with open('./fuck.txt','w') as f:
|
||||
f.write(str(M)+' '+str(N)+' '+str(K)+'\n')
|
||||
for i in arr:
|
||||
f.write(str(i)+' ')
|
||||
f.write('\n')
|
||||
Reference in New Issue
Block a user