- 博客(4)
- 收藏
- 关注
转载 大数运算
//=============================================================================================================#include "Big__CALC.h"int main(){ char str1[200]="9876543210987"; char str
2012-11-27 13:59:50 397
翻译 12222
#include #include #include #define YES 1#define NO 0#define NUM 26struct trie{ trie * next[NUM]; int isword;};trie head,*t,*s;int Max;char str1[100];int exist(trie &head,char x[]){
2012-11-23 07:44:57 485
原创 111
#include #include #include #define YES 1#define NO 0#define NUM 26struct trie{ trie * next[NUM]; int isword;};trie head,*t,*s;int Max;char str1[100];int exist(trie &hea
2012-11-23 07:43:28 422
转载 字典
经典的字典树题目。。字典树:又称单词查找树,Trie树,是一种树形结构,是一种哈希树的变种。典型应用是用于统计,排序和保存大量的字符串(但不仅限于字符串),所以经常被搜索引擎系统用于文本词频统计。它的优点是:利用字符串的公共前缀来节约存储空间,最大限度地减少无谓的字符串比较,查询效率比哈希表高。 #include #include #include #include
2012-11-23 01:24:46 383
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人