Wrong Answer

foo.cc: In function 'void bfs()':
foo.cc:49:33: warning: 'nx' may be used uninitialized [-Wmaybe-uninitialized]
   49 |                         if(nx>=0&&nx<=100000000&&!vis2[nx])
      |                            ~~~~~^~~~~~~~~~~~~~~
foo.cc:45:29: note: 'nx' declared here
   45 |                         int nx;
      |                             ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > 4 4ms 412.0 KiB
#2 Wrong Answer 0a1 > 257 4ms 460.0 KiB
#3 Wrong Answer 0a1 > 19 4ms 412.0 KiB
#4 Wrong Answer 0a1 > 8335 5ms 412.0 KiB
#5 Wrong Answer 0a1 > 513 4ms 412.0 KiB
#6 Accepted 4ms 412.0 KiB
#7 Wrong Answer 0a1 > 100000 4ms 412.0 KiB
#8 Accepted 4ms 412.0 KiB
#9 Wrong Answer 0a1 > 6 4ms 380.0 KiB
#10 Wrong Answer 0a1 > 114 4ms 540.0 KiB
#11 Wrong Answer 0a1 > 18 4ms 372.0 KiB
#12 Wrong Answer 0a1 > 19 4ms 412.0 KiB
#13 Wrong Answer 0a1 > 257 4ms 356.0 KiB

信息

递交者
类型
递交
题目
P1018 抓牛(catchcow)
语言
C++
递交时间
2023-06-27 11:40:15
评测时间
2023-06-27 11:40:15
评测机
分数
14
总耗时
56ms
峰值内存
540.0 KiB