Number of even numbers on the segment
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
Determine and output the number of even integers within the interval [a, b].
Input
Two integers, a and b, separated by a space, each not exceeding 10^18
.
Output
The solution to the problem.
Examples
Input #1
Answer #1
Submissions 2K
Acceptance rate 39%