EPS/2024/03/11-03-24/fuzzing_b.py

21 lines
390 B
Python
Raw Normal View History

2024-04-15 13:45:30 +02:00
import random
LENGTH=1
print(LENGTH)
for _ in range(LENGTH):
n = random.randint(1, 200000)
n = 200000
print(n)
root = random.randint(1, n)
l = []
for i in range(n):
if i==root:
l.append(str(root))
else:
j = i
while i==j:
j=random.randint(1, n)
l.append(str(j))
print(" ".join(l))