欧美一区二区三区,国内熟女精品熟女A片视频小说,日本av网,小鲜肉男男GAY做受XXX网站

python萬能計算公式

吉茹定2年前15瀏覽0評論

python萬能計算公式?

from sys import stdout

scale = 10000

maxarr = 2800

arrinit = 2000

carry = 0

arr = [arrinit] * (maxarr + 1)

for i in xrange(maxarr, 1, -14):

total = 0

for j in xrange(i, 0, -1):

total = (total * j) + (scale * arr[j])

arr[j] = total % ((j * 2) - 1)

total = total / ((j * 2) - 1)

stdout.write("%04d" % (carry + (total / scale)))

carry = total % scale