Run ID:77507

提交时间:2024-06-09 20:20:55

while True: n = int(input()) i = 1 a = 0 while i <= n: a += i i += 1 print(a)