数据结构
文章平均质量分 69
InfoAbby
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
数据结构 堆。
删除优先级最高的元素 DeleteMin() void down(int bab){ int son=bab*2; int a=heap[bab]; while(son<=hlength) { if(sonheap[son+1]) son++; //确定最小的儿子原创 2016-08-01 11:24:12 · 329 阅读 · 0 评论 -
深搜 城堡
#include #include #include #include #include #include using namespace std;int R,C;int rooms[60][60];int color[60][60];int maxRoom=0,roomNum=0;int roomArea;void dfs(int i,int k){ if(c原创 2016-07-24 17:26:03 · 418 阅读 · 0 评论
分享