摘要: 思路 大体是多个联通块,枚举每一个点,如果所在联通块已经搜过,不在搜,如果没搜过,搜联通块。 题目 AcWing1097 AcWing1098 AcWing1106 阅读全文
posted @ 2024-05-08 20:28 学贵坚持 阅读(2) 评论(0) 推荐(0) 编辑