有人知道样例点4是什么么

P1162 填涂颜色

hola0826 @ 2024-10-24 15:59:52


by lg3406286420 @ 2024-10-25 21:02:40


by lg3406286420 @ 2024-10-26 09:22:04

我发现了,我4WA是因为在涂色的时候x,y的坐标定位反了,所以特定方向的数被存入,存到实际上是1的位置,导致泄露2,我看前面有人WA是因为判断边界时打错了符号,所以应该就是类似的方向


by hola0826 @ 2024-10-28 13:57:36

我已经下载下来了,原因是因为地图太大搜不出来。。。以及这个地图他边界不是0但是却被1围了起来,这个边界没处理好


by hola0826 @ 2024-10-28 13:58:29

@hola0826 说错了,是边界是零但是外围有一圈1包围起来了,应该也要输出2,但是我输出的还是0,这里肯定有问题


by caijiuduolian555 @ 2024-11-08 16:32:10

20

0 0 0 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 1 1 1 1 1 0 1 1 1 1 1 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1 1 1 1 0 0 0 1 1 1 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 1 1 1 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 1 1 1 1 1 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 1 1 1 1 1 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 1 1 1 0 0 0 0


|