Accepted

In function 'void bfs()',
    inlined from 'void bfs()' at /in/foo.cc:9:6:
/in/foo.cc:47:33: warning: 'nx' may be used uninitialized [-Wmaybe-uninitialized]
   47 |                         if(nx>=0&&nx<=N&&!vis2[nx])
      |                            ~~~~~^~~~~~~
/in/foo.cc: In function 'void bfs()':
/in/foo.cc:43:29: note: 'nx' declared here
   43 |                         int nx;
      |                             ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 532.0 KiB
#2 Accepted 2ms 536.0 KiB
#3 Accepted 2ms 524.0 KiB
#4 Accepted 2ms 868.0 KiB
#5 Accepted 2ms 536.0 KiB
#6 Accepted 2ms 528.0 KiB
#7 Accepted 2ms 484.0 KiB
#8 Accepted 2ms 356.0 KiB
#9 Accepted 2ms 488.0 KiB
#10 Accepted 2ms 628.0 KiB
#11 Accepted 2ms 528.0 KiB
#12 Accepted 2ms 476.0 KiB
#13 Accepted 2ms 480.0 KiB

信息

递交者
类型
递交
题目
P1018 抓牛(catchcow)
语言
C++
递交时间
2025-07-04 08:26:18
评测时间
2025-07-04 08:26:18
评测机
分数
100
总耗时
29ms
峰值内存
868.0 KiB