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 |
题目意思是这样的1.先降重排序 ,再求最长重合子片段 如:1 2 2 3 5 7 8 100;2 3 4 5 7 8 100; 降重排序得到:100 8 7 5 3 2 1;100 8 7 5 4 3 2; 重合片段有:100 8 7 5;3 2; 取最长得到:100 8 7 5; 2.对第一步进行排序,个位数小的在前面,个位数相同取十位数较小的 得到:100 5 7 8; Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator