摘要:
题目:https://www.lydsy.com/JudgeOnline/problem.php?id=1003 DP好题; 直接找一个时间段的最短路,并用它来预处理出每个时间段的最小花费; f[i]代表一条路走到时间的花费,所以转移要加上K。 枚举所有路线的TLE代码: #include<iost 阅读全文
posted @ 2018-06-04 11:15
Zinn
阅读(138)
评论(0)
推荐(0)
摘要:
题目:https://www.luogu.org/problemnew/show/P1466 水题,注意开long long; 代码如下: 阅读全文
posted @ 2018-06-04 09:12
Zinn
阅读(139)
评论(0)
推荐(0)
摘要:
题目:https://www.luogu.org/problemnew/show/P1113 每个任务的时间就是准备工作中完成最晚的那个的时间再加上自己的时间。 代码如下: 阅读全文
posted @ 2018-06-04 08:33
Zinn
阅读(141)
评论(0)
推荐(0)

浙公网安备 33010602011771号