Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85653 丁俊杰 13求n的阶乘 Python3 Accepted 82 MS 3764 KB 118 2024-07-19 22:14:28

Tests(10/10):


Code:

n=int(input()) res=1 if n>0: for x in range(1,n+1): res*=x print(res) if n==0: print(1)