摘要: # include# include#includeusing namespace std;# define maxn 2005char s[maxn];int dp[maxn][maxn],cost[maxn];int main(){ int n,m,a,b,i,j; char temp; while(scanf("%d%d",&n,&m)!=EOF) { memset(dp,0,sizeof(dp)); getchar(); scanf("%s",s+1); getchar(); for(i=1;... 阅读全文
posted @ 2014-01-24 10:28 单调的幸福 阅读(166) 评论(0) 推荐(0) 编辑