/ WHOJ /

记录详情

Accepted

foo.cc: In function 'void dfs(int, int)':
foo.cc:15:36: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
   15 |     if (x<1||x>m||y<1||y>n||a[x][y]=='#'|b[x][y]==false) return;//判断是否越界
      |                             ~~~~~~~^~~~~
foo.cc: In function 'int main()':
foo.cc:35:8: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized]
   35 |     dfs(p,q);//深搜
      |     ~~~^~~~~
foo.cc:35:8: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
Found 3 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1132 进入桃花岛
题目数据
下载
语言
C++
递交时间
2022-04-16 21:14:09
评测时间
2022-04-16 21:14:09
评测机
分数
100
总耗时
9ms
峰值内存
384.0 KiB