摘要: 这几天一直专心刷题。。。刷的是DP题,题目基本和下面博客上介绍的差不多 http://hi.baidu.com/lewutian/item/ffd19c2e640e17c1ef10f131 然后。。。贴代码/*HOJ 1003 MaxSum以前做过,和上一题也差不多,记录位置即可。DP*/#include <iostream>using namespace std;int main(){ int cas,cas2,i,n,sum,max,a,b,num,begin; cin>>cas; cas2=cas; while(cas--) { sum... 阅读全文
posted @ 2013-04-11 23:12 SF-_- 阅读(648) 评论(0) 推荐(0) 编辑