摘要: #include #include #include #include #include #include using namespace std;class Man {public: char id[14]; int location; int score; int loc... 阅读全文
posted @ 2014-11-09 22:54 卖程序的小歪 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 使用DP,递推关系见代码,先使用大空间的dp数组#include #include #include using namespace std;int max(int a, int b) {return a>b?a:b;}int main() { int N, M, L, tmp; sca... 阅读全文
posted @ 2014-11-09 19:43 卖程序的小歪 阅读(262) 评论(0) 推荐(0) 编辑