2010年11月29日

摘要: 每组给出两个字符串,输入以EOF结束,只输出公共子序列的最大长度第一次数组开100 RE,改成200后 AC!#include<stdio.h>#define MAX 200int opt[MAX][MAX];char str1[MAX],str2[MAX];int main(){ int str1_len,str2_len; int i,j; //freopen("input","r",stdin); while(scanf("%s %s",str1,str2)!=EOF) { str1_len=strlen(str1) 阅读全文
posted @ 2010-11-29 18:26 yming0221 阅读(160) 评论(0) 推荐(0)
摘要: //现在还有点不太明白,记录一下,慢慢体会Human Gene FunctionsTime Limit:1000MSMemory Limit:10000KTotal Submissions:10338Accepted:5718DescriptionIt is well known that a human gene can be considered as a sequence, consisting of four nucleotides, which are simply denoted by four letters, A, C, G, and T. Biologists have be 阅读全文
posted @ 2010-11-29 14:52 yming0221 阅读(242) 评论(0) 推荐(0)
摘要: CompromiseTime Limit:1000MSMemory Limit:65536KTotal Submissions:3300Accepted:1542Special JudgeDescriptionIn a few months the European Currency Union will become a reality. However, to join the club, the Maastricht criteria must be fulfilled, and this is not a trivial task for the countries (maybe ex 阅读全文
posted @ 2010-11-29 13:13 yming0221 阅读(126) 评论(0) 推荐(0)

导航