随笔分类 - 动态规划 区间动规
摘要:QSC and Master 题目连接: http://acm.split.hdu.edu.cn/showproblem.php?pid=5900 Description Every school has some legends, Northeastern University is the sa
阅读全文
摘要:D Game 题目连接: http://acm.hdu.edu.cn/showproblem.php?pid=5693 Description 众所周知,度度熊喜欢的字符只有两个:B 和D。 今天,它发明了一个游戏:D游戏。 度度熊的英文并不是很高明,所以这里的D,没什么高深的含义,只是代指等差数列
阅读全文
摘要:Dire WolfTime Limit: 1 Sec Memory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=5115DescriptionDire wolves, also known as Dark wolves, ar...
阅读全文
摘要:1090: [SCOI2003]字符串折叠Time Limit: 1 Sec Memory Limit: 256 MB题目连接http://www.lydsy.com/JudgeOnline/problem.php?id=1090Description折叠的定义如下: 1. 一个字符串可以看成它自身...
阅读全文
摘要:ProblemF"Folding"Time Limit: 1 Sec Memory Limit: 256 MB题目连接http://codeforces.com/gym/100002DescriptionBillistryingtocompactlyrepresentsequencesofcapit...
阅读全文
摘要:You Are the OneTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4283DescriptionThe TV shows such as You Are the One...
阅读全文
摘要:男神的礼物Time Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/1131DescriptionLweb学长是集训队里公认的男神。有一天他要给美美的学姐姐准备礼物。Lweb学长可是会魔法的哟。为...
阅读全文
摘要:Play GameTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4597DescriptionAlice and Bob are playing a game. There ar...
阅读全文
摘要:菲波拉契数制Time Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/contest/show/65Description我们定义如下数列为菲波拉契数列:F(1)=1F(2)=2F(i)=F(i−1)+F(i−2)(i>=...
阅读全文
摘要:男神的礼物Time Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/contest/show/65DescriptionLweb学长是集训队里公认的男神。有一天他要给美美的学姐姐准备礼物。Lweb学长可是会魔法的哟。为了准...
阅读全文