2014年12月29日

hdu3732(多重背包)

摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3732题意:Ahui学习英语单词,每个单词都是不同的,并且都有自身的价值量 w 和难度值 c (0#include #include #include #include #include #include... 阅读全文

posted @ 2014-12-29 22:53 lienus 阅读(141) 评论(0) 推荐(0)

hdu2845(dp)

摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2845题意:给你一个n*m的矩阵,每个位置有一定数量的豆子,如果你去map[x][y]位置上的豆子,则map[i-1][]行和map[i+1][]行,以及map[i][j-1]和map[i][j+1]位置... 阅读全文

posted @ 2014-12-29 21:54 lienus 阅读(216) 评论(0) 推荐(0)

西南民大oj(递推)

摘要: 我的数学不可能那么难推时间限制(普通/Java) : 3000 MS/ 9000 MS 运行内存限制 : 65536 KByte总提交 : 49 测试通过 : 24描述没什么题出了,怎么办呀~好吧,百度一道去。于是此题横空出世,只为开心。小明喜欢下棋,一日他闲来无聊,将黑白棋子排成... 阅读全文

posted @ 2014-12-29 19:16 lienus 阅读(316) 评论(0) 推荐(0)

导航