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






dahua1

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 下一页

2017年12月15日

链表 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)
 

2017年2月22日

拍卖商品
摘要: #include int data[8][4]={0}; int b[3][3]={1,1,0, 1,0,1, 0,1,1}; int sp[17]={0}; int n,m; //n是拍卖品 m是人数 int max=0; void dfs(int step,int mon) { if(step==m) { if(mon>max) { ... 阅读全文
posted @ 2017-02-22 16:42 dahua1 阅读(125) 评论(0) 推荐(0)
 

2017年2月21日

黑白传染
摘要: #include int num,zu; int data[100][2]={0}; int a[10][10]={0}; int visit[10]={0}; int flag=0; typedef struct node { int x; int c; }node; node point[10000]={0}; int fan(int i) { if(i==1) {ret... 阅读全文
posted @ 2017-02-21 15:50 dahua1 阅读(102) 评论(0) 推荐(0)
 
找环 bfs 最终版本
摘要: #include int num,zu; int a[50][2]={0}; int visit[11]={0}; int data[11][11]={0}; int tou=0; int wei=1; int last; int flag=0; int k=0; int d[11][11]={0}; int r=0; typedef struct node { int x; i... 阅读全文
posted @ 2017-02-21 08:32 dahua1 阅读(145) 评论(0) 推荐(0)
 

2017年2月20日

环 快完成了
摘要: #include int num,zu; int a[50][2]={0}; int visit[11]={0}; int data[11][11]={0}; int tou=0; int wei=1; int last; int flag=0; int k=0; int d[11][11]={0}; typedef struct node { int x; int pre; ... 阅读全文
posted @ 2017-02-20 17:51 dahua1 阅读(91) 评论(0) 推荐(0)
 

2017年2月19日

水管bfs 完成版
摘要: #include int data[50][50]={0}; int visit[50][50]={0}; int hang,lie,num; int k=0; int x,y; int connectto[7][4]={1,1,1,1, 1,0,1,0, 0,1,0,1, ... 阅读全文
posted @ 2017-02-19 17:12 dahua1 阅读(170) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 下一页