cf/mirror

Hongcow's Game

CF
744B1900· candidate master3s256 MB⇄ interactive

Examples

Sample 1of 2
Input
3
0 0 0
2 7 0
0 0 4
3 0 8
0 5 4
Output
3
1 2 3
1
3
2
1 2
1
2
1
1
-1
2 5 4
Sample 2of 2
Input
2
0 0
0 0
Output
1
2
1
1
-1
0 0
744B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)