随笔分类 -  字典树

摘要:该题是一道字典树的题目,就是是要你翻译一下,如果你学了字典树就会发现这是一道水体;#include<stdio.h>#include<stdlib.h>#include<string.h>typedef struct t{ char num[12]; t *ch[26]; int flag; }tire;tire *empty(){ tire *t=( tire * )malloc( sizeof( tire ) ); for( int i=0;i<26;i++ ) t->ch[i]=NULL; memset( t->num,... 阅读全文
posted @ 2011-09-04 01:28 wutaoKeen 阅读(230) 评论(0) 推荐(0)