long long 好像也不够用,我的运行结果:
>>> s = 1
>>> sum = 1
>>> for i in range(2, 21):
... s *= i
... sum += s
...
>>> print s
2432902008176640000
>>> s = 1
>>> sum = 1
>>> for i in range(2, 21):
... s *= i
... sum += s
...
>>> print s
2432902008176640000
永远为正义而奋斗,锄强扶弱的Level 5 超能力者
とある魔術の禁書目錄インデックス__御み坂さか美み琴こと
http://bbs.bccn.net/space.php?action=threads&uid=483997