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];
| ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1866 动物园
- 语言
- C++
- 递交时间
- 2026-01-27 21:13:46
- 评测时间
- 2026-01-27 21:13:46
- 评测机
- 分数
- 100
- 总耗时
- 179ms
- 峰值内存
- 9.125 MiB