Run ID:85657

提交时间:2024-07-19 22:22:02

a=1 n=int(input()) flag=1 for x in range(2,n+1): a+=x*flag flag=(-1)*flag print(a)