cf/mirror

Divisibility Problem

CF
1328A800· newbie1s256 MB⌨ stdin/stdout
#math

Examples

Sample 1of 1
Input
5
10 4
13 9
100 13
123 456
92 46
Output
2
5
4
333
0
1328A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)