cf/mirror

Euclid, Sequence and Two Numbers

CF
2234A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
2
1 1
2
1 2
4
1 2 3 4
3
6 4 2
4
3 8 13 5
3
1 1 1
Output
1 1
2 1
-1
6 4
13 8
-1
2234A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)