[二分] E. Getting Deals Done CFcontest1070E

#include <bits/stdc++.h> #define ll long long using namespace std; const int mn = 2e5 + 10; int n, m; ll t; int p[mn], xu[mn]; bool check(int x) { int lim = xu[x]; // 至少需要xu[x]的能力完成x個,大於xu[x]可能完成不了
相關文章
相關標籤/搜索