摘要: 题意:判断基因链是否匹配,匹配的双链数加1,并要标记,下次比较不能重用!解法: 打擂台法 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 bool compute(string s1, string s2){ 8 if(s1.length() != s2.length()) 9 return false;10 bool flag = false;11 for(int i=0;i strands;19 20 int main(){21 int caseN... 阅读全文
posted @ 2014-01-15 00:53 shaoshuai1990 阅读(177) 评论(0) 推荐(0) 编辑