Infinite Chess
1765I2800· international gm3s512 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
1 87 82N 4 8B 4 6
Output
10
Sample 2of 3
Input
1 11 52K 1 3R 2 3
Output
6
Sample 3of 3
Input
2 26 41Q 4 3
Output
-1
58%
1765I.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…