cf/mirror

Euclid Guess

CF
1684G2800· international gm1s256 MB⌨ stdin/stdout

Examples

Sample 1of 4
Input
7 20
1 8 1 6 3 2 3
Output
3
19 11
15 9
3 7
Sample 2of 4
Input
2 10
7 1
Output
-1
Sample 3of 4
Input
2 15
1 7
Output
1
15 8
Sample 4of 4
Input
1 1000000000
845063470
Output
-1
1684G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…