![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
字典树
苯上的甲基
仅供自学使用,出了事情概不负责xD
展开
-
字典树 Ancient Printer
The contest is beginning! While preparing the contest, iSea wanted to print the teams' names separately on a single paper. Unfortunately, what iSea could find was only an ancient printer: so ancient t...原创 2019-11-06 20:22:53 · 181 阅读 · 0 评论 -
hdu 1251字典树模板
一个查询前缀,很明显的字典树 关键是空行的处理。 我很好奇为什么fgets会报RE 用gtes就不会。但是现在C++14 gets都删了,编译不了。emmm #include <queue> #include <cstdio> #include <set> #include <string> #include <stack> #i...原创 2019-08-02 10:09:58 · 96 阅读 · 0 评论