Run ID:96083

提交时间:2024-11-03 08:42:00

n = int(input()) a = 1 b = 0 for _ in range(n): b = b + a a = a + 1 print(b)