| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 67081 | 张智博 | 22第n项的数 | Python3 | Wrong Answer | 28 MS | 3764 KB | 180 | 2024-03-13 21:08:30 |
n = int(input()) a,b,c,d = input().split() a,b,c,d = int(a),int(b),int(c),int(d) if b-a == c-b == d-c: res = d + (n-4)* b-a else: res = d*(n-4)*(b//a) print(res)
------Input------
6 1 6 11 16
------Answer-----
26
------Your output-----
27