cf/mirror

Pair of Toys

CF
1023B1000· newbie1s256 MB⌨ stdin/stdout
#math

Examples

Sample 1of 4
Input
8 5
Output
2
Sample 2of 4
Input
8 15
Output
1
Sample 3of 4
Input
7 20
Output
0
Sample 4of 4
Input
1000000000000 1000000000001
Output
500000000000
1023B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)