随笔分类 -  uva

摘要:#include#include#include#define MAX 100+10typedef struct word{ char* w; struct word * l;}Word;Word* dic[26];char buf[5000][200];int insert(char* p){ int inx = (*p) - 'a'; if(dic[inx] == NULL) { dic[inx] = (Word*)malloc(sizeof(Word)); dic[inx]->w = p; dic[inx]->l =... 阅读全文
posted @ 2013-07-24 21:24 zhengguan 阅读(233) 评论(0) 推荐(0)