Knight Tournament
356A1500· specialist3s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
4 31 2 11 3 31 4 4
Output
3 1 4 0
Sample 2of 2
Input
8 43 5 43 7 62 8 81 8 1
Output
0 8 4 6 4 8 6 1
58%
356A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…