Run ID:93250
提交时间:2024-10-13 09:03:28
n=int(input()) s=1 i=2 while i<=n: if i%2==0: s=s+i else: s=s-i i=i+1 print(s)