84分?

P1162 填涂颜色

```cpp for(int i=0;i<n;i++)dfs(x+dx[i],y+dy[i]); ``` `i<n` ?
by 幽竹烟雨 @ 2022-11-20 18:24:05


@[yszkddzyh](/user/737158) ```c++ for(int i=0;i<n;i++)dfs(x+dx[i],y+dy[i]); ``` $i < n$ 是个smg
by ImposterAnYu @ 2022-11-20 18:24:15


应该是i<=n吗?
by yszkddzyh @ 2022-11-20 18:26:57


好奇怪的样子
by Foggy_night @ 2022-11-20 18:27:22


哦!!谢谢大佬指点!
by yszkddzyh @ 2022-11-20 18:28:00


不是应该是i=0;i<4;i++
by Foggy_night @ 2022-11-20 18:28:20


本人已悟
by yszkddzyh @ 2022-11-20 18:28:28



by kkksc004 @ 2022-12-04 15:56:46


|