• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






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 阅读(116) 评论(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 阅读(150) 评论(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 阅读(105) 评论(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 阅读(118) 评论(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 阅读(149) 评论(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 阅读(153) 评论(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 阅读(106) 评论(0) 推荐(0)