Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
45066 木木老师 小明养猪的故事 Python3 Accepted 33 MS 3760 KB 211 2023-03-05 14:34:23

Tests(1/1):


Code:

n=int(input()) l=[] for i in range (n): m=int(input()) l.append(m) for i in l: one=0 two=1 for j in range (i): tmp=one+two one=two two=tmp print(two)