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

我就直接构造一个图,再遍历!XXMS,还算可以!

Posted by davydc at 2005-12-26 22:32:08 on Problem 2138
In Reply To:排序 + DP 么?? Posted by:wrong123 at 2005-12-26 03:59:44
> 按长度排序后,再dp
> 使用的是 string
> 
> 速度暴慢,2100ms  晕,差点TLE
> 
> 怎么做 速度快??

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