Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:21: warning: 't2' may be used uninitialized in this function [-Wmaybe-uninitialized]
     q.push(make_pair(t1,t2));
            ~~~~~~~~~^~~~~~~
/in/foo.cc:24:17: warning: 't1' may be used uninitialized in this function [-Wmaybe-uninitialized]
    if(t1<=200005&&t1>=0&&vis[t1]==0)
       ~~~~~~~~~~^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Accepted 3ms 852.0 KiB
#3 Accepted 3ms 1.496 MiB
#4 Accepted 3ms 876.0 KiB
#5 Accepted 4ms 1.105 MiB
#6 Accepted 1ms 328.0 KiB
#7 Wrong Answer 4ms 1.117 MiB
#8 Accepted 1ms 356.0 KiB
#9 Accepted 1ms 376.0 KiB
#10 Accepted 2ms 612.0 KiB
#11 Accepted 2ms 908.0 KiB
#12 Accepted 2ms 1.121 MiB
#13 Accepted 3ms 884.0 KiB

信息

递交者
类型
递交
题目
P1018 抓牛(catchcow)
语言
C++
递交时间
2024-03-09 20:41:29
评测时间
2024-03-09 20:41:29
评测机
分数
93
总耗时
36ms
峰值内存
1.496 MiB