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