5616: Q44-2 计算表达式的值
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:39
Solved:24
Description
计算 2020-1+2-3+4-5+.··士n 的值 (n 为奇数时减,偶数时加)。
Input
n的值
Output
通过以上表达式输出结果
Sample Input Copy
6
Sample Output Copy
2023