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:直接DP超时,加一个剪枝就16ms,太夸张了吧

Posted by sysu_wwl at 2008-11-15 21:14:14 on Problem 2192
In Reply To:直接DP超时,加一个剪枝就16ms,太夸张了吧 Posted by:bjiang at 2008-07-06 13:47:32
> 加判断了一下前2个字符串组成的字符集是否等于第3个字符串中的字符集。
> 看来测试数据中很多case不需要dp,就是判断一下字符集是否相等就可以了
真的是这样啊!!!!
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