Hack std和两篇题解,或者是我理解错了。 ∵\because ∵ 我 ∈\in∈ 蒟蒻 兴许后者可能性更大。
如果成功 Hack 了,麻烦改一下数据。 如果没有,求指出我错在哪里。不过我也看懂题解的 KMP 。
input:\texttt{input:}input:
a a a b c d d e f $ x x y z $
output:\texttt{output:}output:
2
题解是 6 。
6