CF486D Valid Sets
摘要:
枚举最大点i,统计以i为最大点有多少个连通块,由于一个连通块可能有许多个最大点,我们强制选编号最小的那个即可。 #include<bits/stdc++.h> #define file(s) freopen(s".in","r",stdin);freopen(s".out","w",stdout); 阅读全文
posted @ 2020-07-06 21:32 啊啊啊起个什么名字好 阅读(174) 评论(0) 推荐(0)
浙公网安备 33010602011771号