MADODDSUM  Easy Odd Sum
Hablu likes odd numbers a lot. So he wants the sum of all odd numbers in range [a, b]. That is, find the sum of all odd numbers i such that (a ≤ i ≤ b). Seems easy right? Because it is.
Input
The first and only line will contain 2 integers a, b where (0 ≤ a ≤ 10^{8}) and (0 ≤ b ≤ 10^{8}).
Output
In one line, output the value of the sum
Example
Input: 0 9 Output: 25
hide comments
abhi31273:
20190228 06:19:34
...


karankeswani99:
20181219 10:29:59
very simple!!! 

arunsriram1155:
20180822 07:11:39
yes the range should be (a,b]. the question is wrong ...please change it 

syfe:
20180413 17:29:30
My output is exactly same but it's showing wrong answer.


nadstratosfer:
20180316 18:08:02
vedranab: Nothing, your approach is.


vedranab:
20180316 10:17:20
What is wrong with programming in Phyton? 

jovice786:
20171223 07:31:29
dont forget to look at range ,a nd b can be even too and u have to make them odd and use simple ap formula for summation and dont forger unsigned long long int 

namanruhela03:
20171214 16:07:54
It seems like an easy one but I can't get it right. I either get compilation error or wrong answer. Can someone help with where I can look for help? 

shubham9261:
20170730 22:52:38
just a minor mistake


trollkarlnet:
20170419 07:27:16
unsigned long long was my solution :

Added by:  Ruhan Habib 
Date:  20151105 
Time limit:  0.5s1s 
Source limit:  50000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  All except: ASM64 GOSU JSMONKEY 
Resource:  Me? 