![](https://img-blog.csdnimg.cn/20210806165410308.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
trie
!
fffefw
这个作者很懒,什么都没留下…
展开
-
trie树(板子)
#include<stdio.h> #include<iostream> #include<string.h> using namespace std; #define fuck(x) cout<<#x<<" "<<x<<endl; struct node { int cnt,tag;原创 2018-09-22 13:10:26 · 261 阅读 · 0 评论 -
统计难题 HDU - 1251
#include<stdio.h> #include<iostream> #include<string.h> using namespace std; char s[15]; struct node { int cnt,tag; node*son[26]; }*root; node*build() { node*tmp=new(nod...原创 2018-09-22 13:43:09 · 77 阅读 · 0 评论