题解 | #等差数列#
等差数列
https://www.nowcoder.com/practice/f792cb014ed0474fb8f53389e7d9c07f
x=int(input()) y=(2+2+3*(x-1))*x/2 print(int(y))
等差数列
https://www.nowcoder.com/practice/f792cb014ed0474fb8f53389e7d9c07f
x=int(input()) y=(2+2+3*(x-1))*x/2 print(int(y))
相关推荐