the count_less_than int target will overflow!
This commit is contained in:
@@ -6,8 +6,9 @@ H = random.randint(10000, 100000)
|
||||
# M = 10000
|
||||
# K = 1
|
||||
# H = 1
|
||||
arr = list(range(0, M))
|
||||
arr = list(range(2147483647, 2147483647 - M, -1))
|
||||
random.shuffle(arr)
|
||||
# print(arr)
|
||||
with open('fuck.txt', 'w') as f:
|
||||
f.write(str(M)+' '+str(K)+' '+str(H)+'\n')
|
||||
for i in arr:
|
||||
|
||||
Reference in New Issue
Block a user