bears专题

Delivery Bears CodeForces - 653D(二分 + 网络流)

#include <bits/stdc++.h>#include <iomanip>using namespace std;typedef long long ll;const ll maxn = 1020; // 点的数量 const ll inf = 0x3f3f3f3f; ll n, m, x;struct Dinic {struct Edge {ll from, to,