Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85312 丁俊杰 12序列的第n项 Python3 Wrong Answer 35 MS 3752 KB 132 2024-07-17 00:41:44

Tests(1/10):


Code:

n=int(input()) list=[] a=2 b=1 res=-1 while b <=n: a+=res list.append(a) res+=1 b+=1 print(list[4])


Run Info:

------Input------
13
------Answer-----
67
------Your output-----
7