Two Chess Pieces
1774E1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
4 21 21 32 41 31 4
Output
6
Sample 2of 2
Input
4 21 22 33 44 1 2 3 41 1
Output
8
58%
1774E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…