Sum of even numbers
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the sum of even numbers on a segment from a to b inclusively.
Input
Two integers а and b (а ≤ b), no more than 10^9
by absolute value.
Output
Print the sum of even numbers on a segment from a to b inclusively.
Examples
Input #1
Answer #1
Submissions 11K
Acceptance rate 16%