poj-3080 blue jeans

该博客介绍了一个ACM竞赛中的问题——POJ-3080 blue jeans,涉及寻找一组DNA碱基序列中的最长公共子序列。博主采用暴力搜索(BF算法)解决,虽然算法简单直接,但由于序列长度限制为60,因此不担心超时。文章提到了使用`<cstring>`库中的`strncpy()`, `strstr()`, `strcpy()`三个函数,并建议读者通过查阅资料加深理解。文章附有详细注释的代码实现。" 105944856,7528248,深入理解Android logcat命令,"['Android开发', '日志管理', '调试工具']
摘要由CSDN通过智能技术生成

Description

The Genographic Project is a research partnership between IBM and The National Geographic Society that is analyzing DNA from hundreds of thousands of contributors to map how the Earth was populated. 

As an IBM researcher, you have been tasked with writing a program that will find commonalities amongst given snippets of DNA that can be correlated with individual survey information to identify new genetic markers. 

A DNA base sequence is noted by listing the nitrogen bases in the order in which they are found in the molecule. There are four bases: adenine (A), thymine (T), guanine (G), and cytosine (C). A 6-base DNA sequence could be represented as TAGACC. 

Given a set of DNA base sequences, determine the longest series of bases that occurs in all of the sequences.

Input

Input to this problem will begin with a line containing a single integer n indicating the number of datasets. Each dataset consists of the following components:
  • A single p
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值