Authorized by the author 红葉(MOMIJI), he plans to publish his hand-made standard puzzles on this website, with 1 to 2 questions per week. If you like it and have good suggestions, you can leave a message.
KuromasuBlacken some cells in the grid so that all white cells are interconnected. A number in the grid tells the number of cells that are visible from that square, including the square itself. Blackened cells block the view and they cannot be adjacent.
SeeWiki linkfor an example.
Solution code: The number of the longest continuous white cell in each row from top to bottom. Two digits are only counted as single digits, such as: 1234567890
on 30. June 2021, 15:45 by sandmoppe
@cdwg2000: Thank you. I relize now, that I have made an mistake in my solution. I've checked it 3 times before, but haven't seen it then.
on 30. June 2021, 14:54 by cdwg2000
@sandmoppe
Kuromasu is a blacked-out puzzle. The cells that are not blacked are connected as a whole, so the answer sOlution code requires the input of the width of the longest unblacked cell in each row (the width of each cell is 1).
on 30. June 2021, 10:35 by sandmoppe
I don't understand the solution code. Could somebody please explain it to me? Thanks in advance.