| ||||||||||
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 |
比较前后的字符,不相等的次数*2> 比如字符串 a[7]={a,b,c,d,a,b,c},我比较a[0]和a[6],a[1]和a[5],a[2]和a[4],他们都不相等,不相等的次数为3,插入的字符的个数应该是6啊,我试过好多数据了,提交上去就是错的,请问这样的算法是错的么?错在哪里啊? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator