随笔分类 - ACM - 数据结构 - 并查集
摘要:# P2391 白雪皑皑(并查集) https://www.luogu.com.cn/problem/P2391 ## 题目背景 “柴门闻犬吠,风雪夜归人”,冬天,不期而至。千里冰封,万里雪飘。空中刮起了鸭毛大雪。雪花纷纷,降落人间。 美能量星球(pty 在 spore 上的一个殖民地)上的人们被这
阅读全文
摘要:# Educational Codeforces Round 36 (Rated for Div. 2) https://codeforces.com/contest/915 浓浓ds味的一场edu ## A. Garden 找最大因子 ```CC #include using namespace
阅读全文
摘要:AtCoder Beginner Contest 126 https://atcoder.jp/contests/abc126 A - Changing a Character #include <bits/stdc++.h> using namespace std; int main () { i
阅读全文
摘要:AtCoder Beginner Contest 131 https://atcoder.jp/contests/abc131 4/6:ABCD A - Security 水题 #include <bits/stdc++.h> using namespace std; signed main ()
阅读全文