摘要: Codeforces Beta Round 93 (Div. 1 Only) B. Password 一题三吃 学完Z函数,先用哈希做了一遍,再用Z函数做了一遍,然后搜其他人的题解发现用next数组也能做,就又做了一遍 阅读全文
posted @ 2024-10-17 13:59 lulaalu 阅读(1) 评论(0) 推荐(0) 编辑
摘要: Z函数(扩展KMP) Z函数学习,Z数组和E数组的构建 阅读全文
posted @ 2024-10-17 10:18 lulaalu 阅读(2) 评论(0) 推荐(0) 编辑