摘要: Code: 阅读全文
posted @ 2019-02-11 16:52 EM-LGH 阅读(135) 评论(0) 推荐(1) 编辑
摘要: 一道裸题,可以考虑自底向上去更新方案数与最大值。 没啥难的 细节........ Code: 阅读全文
posted @ 2019-02-11 14:26 EM-LGH 阅读(147) 评论(0) 推荐(1) 编辑
摘要: 主要是初始化那里需要注意一下. 然后不要忘记每次给 $last$ 节点的大小++ #include <cstdio> #include <string> #include <cstring> #include <algorithm> #define N 300008 #define ll long 阅读全文
posted @ 2019-02-11 11:37 EM-LGH 阅读(152) 评论(0) 推荐(1) 编辑
摘要: 每个小单词的长度都是小于等于100的,这是个重要的突破口. Code: 阅读全文
posted @ 2019-02-11 01:28 EM-LGH 阅读(162) 评论(0) 推荐(1) 编辑