the count_less_than int target will overflow!

This commit is contained in:
unlockable
2023-11-29 17:07:36 +08:00
parent d0cd4c747c
commit 04912a54bd
5 changed files with 14 additions and 9 deletions

View File

@@ -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: