Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

题目意思是这样的

Posted by libee_zz at 2018-07-01 13:56:07 on Problem 4044
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator