B. Mahmoud and Ehab and the bipartiteness

原题链接 题解 观察一个二分图会发现 同一组的节点不直接相连 二分图能够建立的最多的边等于 \(n*m\) code #include<bits/stdc++.h> using namespace std; #define ll long long vector<ll> G[100005]; ll
posted @ 2024-05-16 20:34  纯粹的  阅读(2)  评论(0编辑  收藏  举报