摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1505先处理每一行上每一个F为底往上所到达的高度,然后再左右处理。 1 #include 2 #include 3 #include 4 #define maxn 1001 5 using namespace... 阅读全文
posted @ 2014-07-22 10:16 null1019 阅读(114) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1337 1 #include 2 #include 3 #define maxn 200 4 using namespace std; 5 int main() 6 { 7 int t; 8 i... 阅读全文
posted @ 2014-07-22 09:00 null1019 阅读(91) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1520 1 #include 2 #include 3 #include 4 #include 5 #define maxn 7000 6 using namespace std; 7 8 int dp[... 阅读全文
posted @ 2014-07-22 08:41 null1019 阅读(108) 评论(0) 推荐(0) 编辑