cf/mirror

Divisible Numbers (easy version)

CF
1744E11500· specialist4s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
1 1 2 2
3 4 5 7
8 9 15 18
12 21 14 24
36 60 48 66
Output
2 2
4 6
12 12
-1 -1
-1 -1
1744E1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)