摘要: 一道用到KMP的题目 做题首先需要一个结论(可以自己证) 如果len%(len-nxt[len])==0 ,答案是len/(len-nxt[len]); 否则是1。 阅读全文
posted @ 2018-10-05 20:57 古城独钓 阅读(87) 评论(0) 推荐(0) 编辑