MLE,求调

P1162 填涂颜色

@[dingyd_](/user/894224) dfs写溢出了
by _JTG_rabbit_ @ 2024-08-15 10:39:58


```cpp if(i<0||j<0||i>n+1||j>n+1||c[i][j]==1||c[i][j]==0) return ; //c[i][j]==0 则说明该位置已被搜索过了 //不加它可能会导致 无穷递归MLE ```
by 16squareZ @ 2024-08-15 10:44:50


@[16squareZ](/user/1032705) 感谢大佬%%%
by dingyd_ @ 2024-08-15 11:07:35


|