题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3572
题意:m台机器,需要做n个任务。第i个任务,你需要使用机器Pi天,且这个任务要在[Si , Ei]区间内完成才有效。对于一个任务,只能由一个机器来完成,一个机器同一时间只能做一个任务。当然,一个任务可以分成几段不连续的时间来完成。问,能否做完全部任务。
题意很清晰,也就是判断是否...
分类:
其他好文 时间:
2014-08-18 22:07:43
阅读次数:
279
Task Schedule
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 3651 Accepted Submission(s): 1271
Problem Description
Our geometry pri...
分类:
其他好文 时间:
2014-08-18 20:31:02
阅读次数:
440
E -Machine ScheduleTime Limit:1000MSMemory Limit:10000KB64bit IO Format:%I64d & %I64uSubmitStatusPracticePOJ 1325Appoint description:DescriptionAs we ...
分类:
其他好文 时间:
2014-08-18 20:21:32
阅读次数:
285
在netBeans中可以直接右键创建定时器回话bean: 类上的注解:@Stateless?@LocalBean ????????需要执行的方法上的注解:@Schedule(dayOfWeek = "Mon-Fri", month = "*", hour = "9-17", dayOfMonth = "*"...
分类:
其他好文 时间:
2014-08-18 12:42:44
阅读次数:
217
题目链接:http://poj.org/problem?id=1325题目意思:有 k 个作业,机器A有 n 个模式:0 ~ n-1,机器B 有 m 个模式:0~ m-1。每一个作业能运行在 A 的 某一个模式(假设为 i (0 2 #include 3 #include 4 using na...
分类:
其他好文 时间:
2014-08-17 16:54:52
阅读次数:
240
Schedule Problem
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 1283 Accepted Submission(s): 534
Special Judge
Problem Descript...
分类:
其他好文 时间:
2014-08-17 11:46:52
阅读次数:
253
1 var SchedulerPauseResumeTest = cc.Layer.extend({ 2 ctor : function(){ 3 this._super(); 4 //添加监听 5 6 this.schedule(this.onT...
分类:
其他好文 时间:
2014-08-11 17:20:42
阅读次数:
321
cocos2dx三种定时器的使用以及停止schedule,scheduleUpdate,scheduleOnce...
分类:
其他好文 时间:
2014-08-10 08:09:20
阅读次数:
350
Weekend counterSofia has given you a schedule and two dates and told you she needs help planning her weekends. She has asked you to count each day of ...
分类:
其他好文 时间:
2014-08-08 17:36:46
阅读次数:
167
//A组n人 B组m人
//最多有多少人匹配 每人只有匹配一次
# include
# include
# include
using namespace std;
int n,m,k;
int pp[1100][1100],map[1100],vis[1100];
int bfs(int x)//二分匹配模板
{
for(int i=1;i<=m;i++)//B组中的人来迎合匹配
{
...
分类:
其他好文 时间:
2014-08-07 13:25:10
阅读次数:
151