1323: 【循环】求和2

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:191 Solved:110

Description

求1-2+3-4+……+n的值

Input

3

Output

2

Sample Input Copy


Sample Output Copy