摘要: 染色法判定二分图 二分图: 1.当且仅当图中无奇数环 2.能且只能用两种颜色染色 #include <cstring> #include <iostream> #include <algorithm> using namespace std; const int N = 100010, M = 20 阅读全文
posted @ 2024-08-02 09:53 Annaprincess 阅读(16) 评论(0) 推荐(0)