摘要:        
字典树较简单题,无需维护标记,注意细节即可。代码:#include #include #include using namespace std;#define N 100027struct node{ node *next[2];}*root;char ss[10][13];node *create(){ node *p; p = (node *)malloc(sizeof(node)); for(int i=0;inext[i] = NULL; return p;}void release(node *p){ for(int i=0;inext[i] !=...    阅读全文
posted @ 2014-02-12 16:33
whatbeg
阅读(219)
评论(0)
推荐(0)
        


 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号