Run ID:81007
提交时间:2024-07-11 20:53:54
n = int(input()) p = 1 i = 1 while i < n - 1: p = p + i i = i + 1 print(p)