Accepted
foo.cc: In function 'int bfs(int, int)':
foo.cc:15:72: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds]
   15 |                         int nx =q[l][0]+dir[i][1],ny = q[l][1]+dir[i][2];
      |                                                                ~~~~~~~~^
foo.cc:3:24: note: while referencing 'dir'
    3 | int n,m,list[105][105],dir[4][2] = {{0,1},{0,-1},{1,0},{-1,0}};
      |                        ^~~
  [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1558 最大黑区域
 - 比赛
 - 2023.8高级班结业模拟测试
 - 语言
 - C++
 - 递交时间
 - 2023-08-09 09:19:43
 - 评测时间
 - 2023-08-09 09:19:43
 - 评测机
 
- 分数
 - 100
 - 总耗时
 - 30ms
 - 峰值内存
 - 412.0 KiB