上一页 1 ··· 8 9 10 11 12
摘要: http://acm.hdu.edu.cn/diy/contest_showproblem.php?pid=1008&cid=22619Problem DescriptionTomorrow is contest day, Are you all ready?We have been trainin... 阅读全文
posted @ 2014-04-06 15:24 冷夏的博客园 阅读(184) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/diy/contest_showproblem.php?pid=1007&cid=22619Problem DescriptionFatMouse prepared M pounds of cat food, ready to trade with the... 阅读全文
posted @ 2014-04-06 15:22 冷夏的博客园 阅读(202) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/diy/contest_showproblem.php?pid=1006&cid=22619Problem DescriptionFamous Harry Potter,who seemd to be a normal and poor boy,is ac... 阅读全文
posted @ 2014-04-06 15:20 冷夏的博客园 阅读(262) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/diy/contest_showproblem.php?pid=1005&cid=22619Problem Description给你两个集合,要求{A} + {B}.注:同一个集合中不会有两个相同的元素.Input每组输入数据分为三行,第一行有两个数字n... 阅读全文
posted @ 2014-04-06 15:19 冷夏的博客园 阅读(179) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/diy/contest_showproblem.php?pid=1003&cid=22619Problem Description非常抱歉,本来兴冲冲地搞一场练习赛,由于我准备不足,出现很多数据的错误,现在这里换一个简单的题目:前几天在网上查找ACM资料的... 阅读全文
posted @ 2014-04-06 15:16 冷夏的博客园 阅读(141) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/diy/contest_showproblem.php?pid=1002&cid=22619Problem DescriptionIgnatius bought a land last week, but he didn't know the area o... 阅读全文
posted @ 2014-04-06 15:15 冷夏的博客园 阅读(263) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/diy/contest_showproblem.php?pid=1001&cid=22619Problem Description给你n个整数,请按从大到小的顺序输出其中前m大的数。Input每组测试数据有两行,第一行有两个数n,m(0#include ... 阅读全文
posted @ 2014-04-06 15:13 冷夏的博客园 阅读(98) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionEddy's interest is very extensive, recently he is interested in prime number. Eddy discover the all number owned can be divided int... 阅读全文
posted @ 2014-04-06 15:08 冷夏的博客园 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Problem Description链接http://acm.hdu.edu.cn/diy/contest_showproblem.php?pid=1002&cid=22518&problem=Problem%20%20B有一楼梯共M级,刚开始时你在第一级,若每次只能跨上一级或二级,要走上第M级,... 阅读全文
posted @ 2014-04-06 15:06 冷夏的博客园 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 递推的推导错排公式编辑当n个编号元素放在n个编号位置,元素编号与位置编号各不对应的方法数用D(n)表示,那么D(n-1)就表示n-1个编号元素放在n-1个编号位置,各不对应的方法数,其它类推.第一步,把第n个元素放在一个位置,比如位置k,一共有n-1种方法;第二步,放编号为k的元素,这时有两种情况:... 阅读全文
posted @ 2014-03-22 10:36 冷夏的博客园 阅读(114) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12