![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
0_250
这个作者很懒,什么都没留下…
展开
-
nyoj290动物统计加强版(字典树)
题目链接:click here~原创 2014-07-07 18:23:14 · 525 阅读 · 0 评论 -
nyoj754黑心医生(优先队列)
#include #include using namespace std; int main() { int m,n; queueq; priority_queueQ; while(scanf("%d%d",&m,&n)!=EOF) { while(!q.empty()) q.pop();原创 2014-07-04 10:30:12 · 832 阅读 · 0 评论 -
nyoj1022合纵连横(带分离操作的并查集)
题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=1022 题目解析:原创 2014-08-28 18:03:01 · 433 阅读 · 0 评论 -
zoj1789(并查集)
#include int father[30004]; void set(int n) { for(int i=0;i father[i]=i; } int find(int x) { if(x==father[x]) return father[x]; return find(father[x]); } void merge(in原创 2014-01-17 15:04:25 · 579 阅读 · 0 评论 -
nyoj209A Bug's Life(并查集)
题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=209 题目解析: jai原创 2014-09-17 21:50:44 · 351 阅读 · 0 评论