Stable Arrangement of Rooks
1621A800· newbie1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
53 23 31 15 240 33
Output
..R...R..-1R.....R.............R.....-1
58%
1621A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
53 23 31 15 240 33
..R...R..-1R.....R.............R.....-1