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

不明白题目要求中为什么B<N,B == N,大家的程序还对吗??且看这个数据!!

Posted by liuchao21 at 2011-08-11 11:35:20 on Problem 2228
5 5
100 100 1 1 100

按题意应该是301,但我的程序得到的是302,如果按O(n^3)的动态规划做的话,就应该是301!!
这种破环的转化真的等价与O(n^3)的dp吗,求大牛解释????

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