摘要: POJ1458裸LCS,尽管自己写了,但能看到AC还是很幸福的,感觉LCS的思路比较好理清. 1 #include<iostream> 2 #include<cstdio> 3 #include<string.h> 4 using namespace std; 5 char s1[1000]; 6 char s2[1000]; 7 int dp[1005][1005]; 8 int max(int a,int b) 9 {if(a>=b) return a;else return b;}10 int main()11 {12 //freopen(&qu 阅读全文
posted @ 2013-05-25 08:41 闭关修炼的小孩纸 阅读(145) 评论(0) 推荐(0) 编辑