码迷,mamicode.com
首页 >  
搜索关键字:homework    ( 559个结果
hdu1789Doing Homework again(贪心)
题目链接: 啊哈哈,点我点我 思路: 这道题是简单的贪心。。先按分数从大到小排序,然后将这个分数的截止日期从后向前扫描,如果碰到没有被标记的则这一天可以做这个作业。。。 题目: Doing Homework again Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Ot...
分类:其他好文   时间:2014-08-01 23:12:42    阅读次数:247
uva 1489 - Math teacher's homework(数位dp)
题目链接:uva 1489 - Math teacher's homework 题目大意:给定n,k,以及序列m1,m2,…,mn, 要求找到一个长度为n的序列,满足0=xi=mi, 并且x1XORx2XOR…XORxn=k 解题思路:数位dp,在网上看了别人的代码,高大上。。。 假设有二进制数 k : 00001xxxx mi:0001xxxxx, 那么对于xi即可...
分类:其他好文   时间:2014-07-30 23:59:05    阅读次数:692
HDU 1789 Doing Homework again (贪心)
HDU 1789 Doing Homework again (贪心)...
分类:其他好文   时间:2014-07-30 10:05:23    阅读次数:219
HDU 1789 Doing Homework again
Problem Description Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the homework. If Ignatius hands i...
分类:其他好文   时间:2014-07-29 22:05:32    阅读次数:390
hdoj 1789 Doing Homework again 【贪心】
贪心策略:先按分数从大到小排序,分数一样,再按时间从小到大排序 分最高的越靠近期限完成,越好 话不多说直接看代码 题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=1789 代码: #include #include #include using std::sort; typedef struct{ int sco, time; ...
分类:其他好文   时间:2014-07-29 15:18:48    阅读次数:170
HDU - 1789 Doing Homework again
Description Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the homework. If Ignatius hands in the ho...
分类:其他好文   时间:2014-07-28 16:04:23    阅读次数:262
HDUJ 1789 Doing Homework again 贪心
Doing Homework again Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 6335    Accepted Submission(s): 3746 Problem Description Ignatiu...
分类:其他好文   时间:2014-07-21 11:46:56    阅读次数:242
Linux服务的简单配置(homework)
Linux服务也学习一个礼拜啦,趁这闲暇之际,归纳一下这周所学的服务.应用环境:Redhat5.9一、DHCPDHCP是动态主机配置协议,可自动分配入网参数,实现各客户机IP的自动获取1.为服务器配置一个固定的Ip地址如192.168.4.22.确认已安装dhcp软件包3.建立dhcpd.conf配置文件。[root@svr1..
分类:系统相关   时间:2014-07-20 00:33:51    阅读次数:723
UVA - 10410 Tree Reconstruction
Description   You have just finished a compiler design homework question where you had to find the parse tree of an expression. Unfortunately you left your assignment in the library, but lucki...
分类:其他好文   时间:2014-07-18 22:19:15    阅读次数:249
Doing Homework again
Doing Homework againTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionIgnatius has just come back school from t...
分类:其他好文   时间:2014-07-15 08:15:31    阅读次数:205
559条   上一页 1 ... 53 54 55 56 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!