- 博客(7)
- 收藏
- 关注
原创 UVALive 6440 Emergency Handling 优先队列
题目连接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4451 题目意思:
2014-08-11 12:06:32 569
原创 HDU 1863 并查集
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1863 题目意思:geng
2014-08-09 17:36:34 404
原创 并查集的模板
#define MAX **** //自己设置最大值 // father[x]表示x的父节点 int father[MAX]; // rank[x]表示x的秩 int rank[MAX]; // 初始化 void Make_Set(int n) { for(int i=1; i<=n; ++i) { father[i] = i; rank[i] = 0; } } //
2014-08-09 17:02:47 332
原创 POJ 1611 The Suspects (并查集)
题目链接: http://vjudge.net/problem/viewProblem.action?id=10536 题目意思:
2014-08-09 13:44:10 440
原创 HDU 1232 畅通工程 (并查集)
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=1232 题目意思: 给你lai连通的城市
2014-08-09 12:52:41 438
原创 HDU - 4791 Alice's Print Service
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4791 题目意思:
2014-08-02 10:35:49 498
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人