cf/mirror

Classy Numbers

CF
1036C1900· candidate master3s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
1 1000
1024 1024
65536 65536
999999 1000001
Output
1000
1
0
2
1036C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)