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 |
wrong test case!5 5 2 1 2 1 2 3 1 2 3 4 5 答案应该是1,而不是2 因为 the extended string of S3 should NOT be the substring of S2. 而且if S3 does not have a succeed character in S1, the extended string of S3 is just S3 那么只有第一次出现的1 2满足条件 最后的2 3,其extended string是2 3,不满足条件 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator