摘要: AtCoder Beginner Contest 399(C~F) C - Make it Forest A simple undirected graph F is called a forest if and only if F does not contain any cycle. 用并查集计 阅读全文
posted @ 2025-04-06 15:38 _lull 阅读(10) 评论(0) 推荐(0)