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