最佳任务调度
链接:http://oj.51xiaocheng.com/contest/202/problem/C
BFS + 优先队列
#include <bits/stdc++.h>
#define ll long long
using namespace std;
const int maxn=1010+10;
int n,k;
int a[20],m[10],suff[20];
int ans;
struct Node
{
int m[10],sum,mx,lb,p;
Node(.
原创
2020-07-06 22:09:05 ·
351 阅读 ·
0 评论