fix: 修复边界情况求解的bug

This commit is contained in:
2023-11-01 17:20:27 +08:00
parent 7b2db73aaa
commit 4bfcf1e5d6
2 changed files with 23 additions and 10 deletions

View File

@ -36,7 +36,9 @@ opt_python=[]
if True:
for i in range(0,10):
val=randint(-10**1000,10**1000)
val=randint(-10**100,10**100)
if i==0:
val=randint(-10**100,10**100)
opt_cpp.append("a_"+str(i)+"=int2048(\""+str(val)+"\");")
opt_python.append("a_"+str(i)+"="+str(val))
opt_cpp.append("a_"+str(i)+".print(); puts(\"\");")