Board Game
605D2500· grandmaster2.5s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
40 0 3 42 2 5 34 1 1 75 3 8 8
Output
31 2 4
Sample 2of 2
Input
20 0 4 65 1 1000000000 1000000000
Output
-1
58%
605D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…