cf/mirror

Two Divisors

CF
1366D2000· candidate master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
10
2 3 4 5 6 7 8 9 10 24
Output
-1 -1 -1 -1 3 -1 -1 -1 2 2
-1 -1 -1 -1 2 -1 -1 -1 5 3
1366D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)