codeforces 514D R2D2 and Droid Army
题目:
思路:
尺取法+堆
#include
#include
#include
#include
#include
using namespace std; #define LL __int64 const int N=100005; int a[N][6]; int n,m; LL k; int ans[6]; priority_queue
q[5],t[5]; int main(){ scanf("%d%d%I64d",&n,&m,&k); for(int i=0;i