The number of odd numbers between the numbers
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Determine and output the count of odd integers that exist between the numbers a and b.
Input
Two integers provided in a single line, separated by a space, each not exceeding 10^18
.
Output
The number of odd integers between a and b.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 3K
Acceptance rate 22%