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

Re:先排序再求与原列的最大公共子序列为什么会WA。。。求高手指教

Posted by hehexiaobai at 2010-11-27 00:53:04 on Problem 2533
In Reply To:先排序再求与原列的最大公共子序列为什么会WA。。。求高手指教 Posted by:alanmiller at 2010-08-23 09:49:07
可能是要求严格递增的
下面一组测试数组
4
1 2 2 3
你的求LCA的方法肯定是 4
其实答案是3

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