题解 | #尼科彻斯定理#
尼科彻斯定理
https://www.nowcoder.com/practice/dbace3a5b3c4480e86ee3277f3fe1e85
while True: try: m = int(input()) a = [] for i in range(m * (m - 1) + 1, m * (m + 1), 2): a.append(i) for i in a: if i == a[-1]: print(i) else: print(i, end="+") except: break