Run ID:93247
提交时间:2024-10-13 08:53:36
n=int(input()) s=1 for x in range(2,n+1): if x%2==1: s=s-x else: s=s+x print(s)