会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
dahua1
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2017年12月15日
10万个字符串比较
摘要: #include<iostream>#define SIZE 100000char data[SIZE][501];typedef struct node{ int value; struct node *next; struct node *pre; char da[501]; }node;int
阅读全文
posted @ 2017-12-15 17:54 dahua1
阅读(108)
评论(0)
推荐(0)
编辑
HASH API
摘要: #include <stdio.h>#include <stdlib.h> #define SIZE 100000 //根据需要更改typedef struct node { int n; char str[501]; struct node * prev; struct node * next;}
阅读全文
posted @ 2017-12-15 17:51 dahua1
阅读(141)
评论(0)
推荐(0)
编辑
链表 API
摘要: #include <iostream>using namespace std; //LinkedList APItypedef struct ListNode { int key; struct ListNode * next; struct ListNode * prev;}ListNode; #
阅读全文
posted @ 2017-12-15 17:49 dahua1
阅读(97)
评论(0)
推荐(0)
编辑
进制转换
摘要: #include<windows.h>#include <stdio.h>#include <stdlib.h>#define SIZEQ 26*26*26*26*26int data[SIZEQ];int step = 0;#define SIZE 100000char data1[SIZE][5
阅读全文
posted @ 2017-12-15 17:48 dahua1
阅读(112)
评论(0)
推荐(0)
编辑
sonw flake
摘要: #include<iostream>using namespace std;int Num;#define SIZE 100000typedef struct node{ int flakeNum[6]; struct node *next;}node;node hashPool[SIZE+10];
阅读全文
posted @ 2017-12-15 17:47 dahua1
阅读(140)
评论(0)
推荐(0)
编辑
sever connection
摘要: #include <stdio.h>#include <string.h> #define MAX_ACCOUNT 50000#define MAX_TIME 30000int dex = 0;int time = 0;typedef struct ACCOUNT{ char id[11]; cha
阅读全文
posted @ 2017-12-15 17:46 dahua1
阅读(142)
评论(0)
推荐(0)
编辑
双 堂客 bfs
摘要: #include<stdio.h>#include<stdlib.h>#define SIZE 10000000#pragma warning(disable:4996)int data[26][26] = { 0 };int visit[26][26][26][26] = { 0 };int dx
阅读全文
posted @ 2017-12-15 17:43 dahua1
阅读(102)
评论(0)
推荐(0)
编辑