标签:时间 n+1 str strong span NPU 任务 限制 程序
res = 1 n = int(input()) for i in range(1,n+1): res = res*i for j in str(res)[::-1]: if j != "0": print(j) break
P0505
原文地址:https://www.cnblogs.com/laij/p/12698780.html