摘要: 题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=4600题目意思很简单,但一般的方法会超时的。这里用的是DP看解题报告做不来的....View Code 1 #include <iostream> 2 #include <cstring> 3 #include <cstdio> 4 #include <cmath> 5 using namespace std; 6 struct ss{ 7 int a,b,h,x,y; 8 }num[1005]; 9 int judg 阅读全文
posted @ 2012-03-27 21:19 我们一直在努力 阅读(160) 评论(0) 推荐(0) 编辑