自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

转载 大数运算

//============================================================================================================= #include "Big__CALC.h" int main() { char str1[200]="9876543210987"; char str

2012-11-27 13:59:50 409

翻译 12222

#include #include #include #define YES 1 #define NO 0 #define NUM 26 struct 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 524

原创 111

#include #include #include #define YES 1 #define NO 0 #define NUM 26 struct 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 542

转载 字典

经典的字典树题目。。 字典树:又称单词查找树,Trie树,是一种树形结构,是一种哈希树的变种。典型应用是用于统计,排序和保存大量的字符串(但不仅限于字符串),所以经常被搜索引擎系统用于文本词频统计。它的优点是:利用字符串的公共前缀来节约存储空间,最大限度地减少无谓的字符串比较,查询效率比哈希表高。     #include #include #include #include

2012-11-23 01:24:46 411

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除