Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
70002 胡海峰老师 n的阶乘 Python3 Accepted 35 MS 3748 KB 84 2024-04-13 11:13:04

Tests(5/5):


Code:

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