摘要: 题目链接: hdu: http://acm.hdu.edu.cn/showproblem.php?pid=5418 bestcoder(中文): http://bestcoder.hdu.edu.cn/contests/contest_chineseproblem.php?cid=619&pid=1 阅读全文
posted @ 2016-03-18 21:30 fenicnn 阅读(616) 评论(0) 推荐(0)
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5642 题解: 方法一: dp[i][j]表示长度为i以字母j+'a'结尾的所有合法情况,现在我们先考虑所有情况再减去那些非法情况(以连续四个j结尾的状态为非法状态 ,超过四个j的之前一定已经考虑过了, 阅读全文
posted @ 2016-03-16 17:56 fenicnn 阅读(308) 评论(0) 推荐(0)
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5434 Peace small elephant Accepts: 38 Submissions: 108 Time Limit: 10000/5000 MS (Java/Others) Memory 阅读全文
posted @ 2016-03-16 01:11 fenicnn 阅读(472) 评论(0) 推荐(0)
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5428 The Factor Accepts: 101 Submissions: 811 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 655 阅读全文
posted @ 2016-03-11 19:20 fenicnn 阅读(258) 评论(0) 推荐(0)
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5427 A problem of sorting Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Oth 阅读全文
posted @ 2016-03-11 13:28 fenicnn 阅读(377) 评论(0) 推荐(0)
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5432 Pyramid Split Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Tot 阅读全文
posted @ 2016-03-10 15:29 fenicnn 阅读(241) 评论(0) 推荐(0)
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5433 Xiao Ming climbing Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Other 阅读全文
posted @ 2016-03-10 15:19 fenicnn 阅读(219) 评论(0) 推荐(0)
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5464 Clarke and problem Accepts: 130 Submissions: 781 Time Limit: 2000/1000 MS (Java/Others) Memory Li 阅读全文
posted @ 2016-03-09 23:42 fenicnn 阅读(275) 评论(0) 推荐(0)
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5465 Clarke and puzzle Accepts: 42 Submissions: 269 Time Limit: 4000/2000 MS (Java/Others) Memory Limi 阅读全文
posted @ 2016-03-09 23:29 fenicnn 阅读(398) 评论(0) 推荐(0)
摘要: 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=5496 Beauty of Sequence Problem Description Sequence is beautiful and the beauty of an integer sequenc 阅读全文
posted @ 2016-03-09 01:04 fenicnn 阅读(229) 评论(0) 推荐(0)