摘要: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1346明天写题解!!!!问题描述:求最长公共子序列1、递推求解:#include#include#include#includeusing namespace std;char s1[1100],s2[1100];int c[1100][1100];int LCS(){ int n=strlen(s1); int m=strlen(s2); memset(c,0,sizeof(c) 阅读全文
posted @ 2013-11-28 23:58 little_w 阅读(240) 评论(0) 推荐(0)