提交时间:2025-12-26 15:13:48
运行 ID: 77991
N = int(input()) if N % 2 == 0: print(N / 2 * N) else: print((N + 1) / 2 * (N + 1))