cf/mirror

Help Vasilisa the Wise 2

CF
143A1000· newbie2s256 MB⌨ stdin/stdout

Examples

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