摘要:
题目链接:http://poj.org/problem?id=3624#include<iostream>#include<fstream>#include<cstring>usingnamespacestd;intn,m;intw[4000],d[4000];intdp[20000];intmax(inta,intb){if(a>b)returna;elsereturnb;}intmain(){//fstreamcin("x.in");cin>>n>>m;memset(dp,0,sizeof(dp));fo 阅读全文