摘要: /*This Code is Submitted by billforum for Problem 4000104 at 2012-02-01 18:33:20*/#include <iostream>#include <cstring>using namespace std;int d[1001][1001];int max(int x,int y){ return (x>y?x:y);}int main(int args,char** argv){ char str1[1001],str2[1001]; while(cin>>str1>> 阅读全文
posted @ 2012-02-01 20:08 wuzhibin 阅读(174) 评论(0) 推荐(0)
摘要: http://acm.hit.edu.cn/hoj/problem/view?id=1058简单的dp/*This Code is Submitted by billforum for Problem 4000103 at 2012-02-01 18:08:39*/#include <iostream>using namespace std;int d[1001][1001];int max(int x,int y){ return (x>y?x:y);}int main(int args,char** argv){ int n; int tmp1,a... 阅读全文
posted @ 2012-02-01 18:12 wuzhibin 阅读(261) 评论(0) 推荐(1)