cf/mirror

Yet Another Two Integers Problem

CF
1409A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
6
5 5
13 42
18 4
1337 420
123456789 1000000000
100500 9000
Output
0
3
2
92
87654322
9150
1409A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)