摘要: Description $n$ 个小时,每个小时要么打隔膜要么睡觉,第 $i$ 个小时,睡觉的愉悦值为 $s_i$ ,打隔膜的愉悦值为 $e_i$ ,对于任意一段连续的 $k$ 小时,必须至少有 $m_s$ 时间在睡觉, $m_e$ 时间在打隔膜。求最大愉悦值。 Solution 如果令所有的时间都 阅读全文
posted @ 2018-06-13 10:31 aziint 阅读(203) 评论(0) 推荐(0) 编辑
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.