Problem2140--Calculation sum

2140: Calculation sum

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 28  Solved: 12
[Submit] [Status] [Web Board] [Creator:]

Description

Use function to find the sum of negative odd and positive even numbers between n and m,including n,m.

Input

Given two integer n m

Output

A integer represents the operation result

Sample Input Copy

-5 5

Sample Output Copy

-3

Source/Category

182