摘要:
Link Cut Centroids Fishing Prince loves trees, and he especially loves trees with only one centroid. The tree is a connected graph without cycles. A v 阅读全文
摘要:
题意:给你一长度为$n$的序列,将其分为两个集合,求两个集合中未出现的最小元素的最大值, 题解:用桶存一下每个元素的个数,两次枚举$[1,100]$,找出两个最小值即可. 代码: int t; int n; int a[N]; map<int,int> mp; int main() { ios::s 阅读全文