题解 | #尼科彻斯定理#
尼科彻斯定理
https://www.nowcoder.com/practice/dbace3a5b3c4480e86ee3277f3fe1e85
m = int(input()) # 简单做下公式推导 x = m**2 - m + 1 arr = [str(x + 2 * i) for i in range(m)] print("+".join(arr))
尼科彻斯定理
https://www.nowcoder.com/practice/dbace3a5b3c4480e86ee3277f3fe1e85
m = int(input()) # 简单做下公式推导 x = m**2 - m + 1 arr = [str(x + 2 * i) for i in range(m)] print("+".join(arr))
相关推荐