Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
很简单的一题开四个变量记录A,T,C,G的个数,从后往前遍历串,遇到'T'则sortedness加上A、C、T的个数,T个数加加;遇到'G'则sortedness加上A、C的个数,G个数加加,如此类推。最后跟据每个串的sortedness选择输出 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator