Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
141495 叶航帅 n的阶乘 Python3 Accepted 31 MS 3764 KB 264 2025-12-25 21:14:21

Tests(5/5):


Code:

def a(b): c = 1 for d in range(2, b+1): c *= d return c e = int(input()) f = a(e) print(f) # def a(b): # if b == 1: # return 1 # else: # return b * a(b - 1) # # c = int(input()) # d = a(c) # print(d)