摘要:
题意 维护一个字符串的集合$D$, 支持3种操作: 1. 插入一个字符串$s$ 2. 删除一个字符串$s$ 3. 查询一个字符串$s$在$D$中作为子串出现的次数 强制在线 解法 AC自动机+二进制分组 二进制分组 二进制分组 是一种用 (套用) 离线方法解决要求 强制在线 问题的 分块 技巧. 我 阅读全文
「以解决问题为乐」
真的喜欢么?真的喜欢就去做吧。
Lost Boy Calling 。。。。
... Many of these issues are best dealt with at the algorithmic level, rather than by "tweaking" the code.
This is an obscurity that catches the unwary.
原来我什么都不懂。