/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void KMP()':
/in/foo.cc:63:42: warning: the address of 'fail' will never be NULL [-Waddress]
   63 |                 while ((fix << 1) > i && fail)fix = fail[fix];
      |                                          ^~~~
/in/foo.cc:28:8: note: 'fail' declared here
   28 | int T, fail[1000005], num[1000005];
      |        ^~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 528.0 KiB
#2 Accepted 2ms 480.0 KiB
#3 Accepted 2ms 484.0 KiB
#4 Accepted 2ms 636.0 KiB
#5 Accepted 2ms 640.0 KiB
#6 Accepted 7ms 1.398 MiB
#7 Accepted 13ms 2.273 MiB
#8 Accepted 29ms 4.848 MiB
#9 Accepted 58ms 9.121 MiB
#10 Accepted 58ms 9.125 MiB

信息

递交者
类型
递交
题目
P1866 动物园
语言
C++
递交时间
2026-01-27 21:13:46
评测时间
2026-01-27 21:13:46
评测机
分数
100
总耗时
179ms
峰值内存
9.125 MiB