Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
142199 丁俊杰 13求n的阶乘 Python3 Accepted 32 MS 3756 KB 147 2026-01-01 16:37:00

Tests(10/10):


Code:

n=int(input()) res=1 #初始化 if n!=0: #要把从1到n的数字乘到res上 for i in range(1,n+1): res*=i print(res)