提交时间:2024-01-04 14:46:13
运行 ID: 36736
a = int(input()) s = 0 if a%2==0: for i in range(0,a+1,2): s+=i else: for i in range(0,a,2): s+=i print(s)