洛谷刷题-Python 2022-11-14 11:36 | 2,152 | 0 | Python 1435 字 | 1.1 小时 P1009 a = int(input()) ans1 = 0 for i in range(1,a+1,1): ans2 = 1 for j in range(1,i+1,1): ans2 *= j ans1 += ans2 print(ans1) P1035 n = int(input()) ans = 0 i = 1 while ans<…