#Homework

hdu1074 Doing Homework(状态压缩DP Y=Y)

 TimeLimit:2000/1000MS(Java/Others)    MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):3958    AcceptedSubm...

贪心-hdu-1789-Doing Homework again

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1789题目意思:有n个作业,每个作业有一个截止日期,每个作业如果超过截止日期完成的时候有一个惩罚值,问怎样安排作业,使惩罚值最小。解题思路:贪心。先按惩罚值从大到小排序,惩罚值越大,就应该尽量安排改作业在截止日期之前完成,而...

HUST 1555 A Math Homework

时间限制:1秒内存限制:128兆338次提交131次通过题目描述   QKLisapoorandbusyguy,andhewasnotgoodatmath.    Lastday,histeacherassignedahomework:Giveyou...
代码星球 ·2020-04-14

day04 --class --homework

#-*-coding:utf-8-*-#@Time:2018/12/2412:10#@Author:Endless-cloud#@Site:#@File:04课后作业.py#@Software:PyCharm#'''#1.写代码,有如下列表,按照要求实现每一个功能'''#li=["alex","WuSir","riti...
代码星球 ·2020-04-07

day03 --class --homework

#-*-coding:utf-8-*-#@Time:2018/12/2114:25#@Author:Endless-cloud#@Site:#@File:day03课后作业.py#@Software:PyCharm#>>>>>>>>>1:有变量name="aleXl...
代码星球 ·2020-04-07

Hdu 1789 Doing Homework again

TimeLimit:1000/1000MS(Java/Others)    MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):6538    AcceptedSubmission...