自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (5)
  • 收藏
  • 关注

原创 MFC截图工具(不断更新)

基于MFC 开发的截图工具 文件名:Draw 创建单个文档,MFC标准 一.将视图显示 1.MainFrm.cpp 中 int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) SetMenu(NULL); 去掉菜单 CBRS_BOTTOM 将工具栏现实在下面 将状态显示的代码去掉

2015-08-26 12:50:41 2181

原创 全排列

#include #include using namespace std; int book[1000]; int a[1000]; int n; void dfs(int step)//step表示现在站在第几个盒子面前 { if(n+1==step)//如果站在第n+1个盒子面前,则表示前面n个盒子已经放好扑克牌 { //输出一种排列(1~n号盒子中的扑克牌

2015-08-18 20:00:40 774

原创

#include int h[1000]; using namespace std; int n; void swap(int x,int y) { int t; t=h[x]; h[x]=h[y]; h[y]=t; } void siftdown(int i)//传入一个需要向下调整的结点编号i,这里传入1,即从堆的顶点开始向下调整 { int t,fl

2015-08-18 16:20:55 997

原创 并查集

#include using namespace std; int f[1000]={0},n,m,k,sum=0; //这里是初始化,数组里面存的是自己数组下表的编号 void init() { int i; for(i=1;i<=n;i++) { f[i]=i; } } //这是找爹的递归函数,不停地找爹,直到找到祖宗为止,其实就是找犯罪团

2015-08-17 18:19:50 768

原创 哈理工oj1181

#include #include using namespace std; struct node { int x;//点的坐标 int y; int s;//记录步数 }; int main() { int startx,starty; int endx,endy; int tx,ty; int n,m; int k;

2015-08-13 22:10:58 1457

原创 宝岛探险2

#include using namespace std; int book[51][51]={0}; int a[51][51]; int sum; int n,m; void dfs(int x,int y,int color) { int tx,ty; int k; //定义一个方向的数组 int next[4][2]={{0,1},{1,0},{0,-1},

2015-08-13 20:44:18 828

原创 宝岛探险1(DFS)

#include using namespace std; int book[51][51]={0}; int a[51][51]; int sum; int n,m; void dfs(int x,int y) { int tx,ty; int k; //定义一个方向的数组 int next[4][2]={{0,1},{1,0},{0,-1},{-1,0}};

2015-08-13 20:26:59 673

原创 宝岛探险1(BFS)

/* 0表示海洋 1~9都表示陆地 startx,starty为着陆地点 算出降落小岛的面积 */#include using namespace std; struct node { int x; int y; }; int main() { int a[50][50]; node que[2051]; int n,m; int startx,st

2015-08-12 22:34:12 803

原创 炸弹人

#include using namespace std; struct note { int x; int y; }; char a[20][21]; int getsum(int i,int j) { int sum,x,y; sum=0; x=i; y=j; while(a[x][y]!='#') { if(

2015-08-12 21:26:50 1171

原创 迷宫探索

/* 5 4 0 0 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 1 1 4 3 */ #include using namespace std; struct node {  int x;//横坐标  int y;//纵坐标  int f;//父亲在队列中的编号  int s;//步数 }; int main() {  nod

2015-08-11 13:34:23 1010

原创 线程同步

线程同步: 一:互斥同步   1.原子访问是windows只有的线程同步        InterlockedExchange   改变值        InterlockedIncrement  ++        InterlockedDecrement  --        InterlockedExchangeAdd    +=        实现旋转锁:锁一段代码

2015-08-08 14:51:16 1031 1

原创 线程通信

线程通信:CThreadDome文件名 1.通过全局变量 2.发消息     2.1给窗口发消息  #define SEND_DATA  (WM_USER+1)//定义处理消息的宏  UINT _cdecl CThreadDomeThreadDlg::Tread(LPVOID lpvoid)//线程函数  {   CThreadDomeDlg *pThis=(CThreadDomeD

2015-08-06 22:29:59 618

1.6 Golang在阿里巴巴调度系统Sigma中的实践.pdf

1.6 Golang在阿里巴巴调度系统Sigma中的实践。

2020-04-19

栈和队列.rar

栈队列,两个栈实现队列,两个队列实现栈,栈和队列的一些简单应用

2016-01-14

深度优先搜索

哈理工几道深度优先搜索例题,泉水下山

2015-08-15

排序树 变成双向链表

排序树 变成双向链表排序树

2014-09-14

排序树 双向 循环链表

排序树 双向 循环链表

2014-08-31

空空如也

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

TA关注的人

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