随笔分类 - 并查集
摘要:首先庆祝一下再次血崩... A - Bear and Big Brother 【数学】 题意:甲身高小于等于乙,甲每年身高翻两倍,乙翻一倍,求需要几年甲能比乙高。 做法:无fuck说 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #include <bits/stdc
阅读全文
摘要:HDU 1232 裸的并查集 戳我直达 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 #include <bits/stdc++.h> using namespace std; const int maxn = 1000 + 10; in
阅读全文