自定义博客皮肤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)
  • 问答 (1)
  • 收藏
  • 关注

原创 binary search tree

///之前写的在删节点时 都没有维持二叉排序树的形态 所以重写一遍 还挺好玩的 #include using namespace std; typedef struct treenode { int data; treenode *lchild; treenode *rchild; }node, *Tree; int head, tail; node *q[100]; in

2016-12-08 18:22:31 224

原创 图toposort

///有向无环图 ///拓扑排序 ///图的各种表示法 汇总 ///1.邻接矩阵 /* #include #include #include using namespace std; int deg[100]; bool vis[100]; int map1[100][100]; int a[100]; void toposort(int n) { priority_queue ,

2016-12-04 15:48:41 451

原创 Adjacency List Dijkstra

///啊 次我一个太滚吧~ #include #include using namespace std; struct arcnode { int adjvex; int weight; arcnode *nextarc; }; typedef struct vnode { int data; arcnode * firstarc; }Adjvex[20];

2016-12-02 20:58:50 347

原创 神啊

我要慢慢研读~ #ifndef LISTDEFINE_H_INCLUDED #define LISTDEFINE_H_INCLUDED #include "pubuse.h" template class LinkList { public: struct node { T date; node* next; node* pr

2016-12-02 19:52:22 206

空空如也

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

TA关注的人

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