cf/mirror

Chess For Three

CF
1973A900· newbie1s256 MB⌨ stdin/stdout

Examples

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