cf/mirror

Petya and Divisors

CF
111B1900· candidate master5s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
6
4 0
3 1
5 2
6 2
18 4
10000 3
Output
3
1
1
2
2
22
111B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)