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

如果dp值不可能比现在的还大就不需要计算两本书是不是禁止相邻了

Posted by Liuzhaoliang at 2014-11-01 07:25:35 on Problem 2511
In Reply To:Re:这题的方程怎么写啊?10n^2的超时...:( Posted by:yjn at 2005-07-28 16:32:54
> 晕,10×n^2的算法要先构造判断矩阵才能勉强通过,而如果临时判断则超时。不知是否有更好的算法还是我的代码不够优化?
9年前的同学。

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