随笔分类 - 字符串——SA
摘要:题面 https://www.luogu.com.cn/problem/P4094 题解 前置知识: SA: https://oi-wiki.org/string/sa/ 主席树: https://www.luogu.com.cn/problemnew/solution/P3834 题目给出字符串S
阅读全文
摘要:题面 https://www.luogu.com.cn/problem/P1117 题解 前置知识: SA https://www.luogu.com.cn/problemnew/solution/P3809 本题要求一个字符串中所有AABB形式的字符串(可重)的个数。 首先考虑简化要求:设f[x]
阅读全文
摘要:题面 https://www.luogu.com.cn/problem/P4770 题解 前置知识: SAM https://www.luogu.com.cn/problemnew/solution/P3804 SA https://www.luogu.com.cn/problemnew/solut
阅读全文

浙公网安备 33010602011771号