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:我用动态规划:Min[a][b]表示前a个字符插入b个逗号所得到的最末位数字的最小值。在ZJU上ac了,但是在这超时(改了快有4个小时),谁知道更好的算法,谢了!

Posted by liulike at 2003-08-07 11:10:33 on Problem 1239
In Reply To:我用动态规划:Min[a][b]表示前a个字符插入b个逗号所得到的最末位数字的最小值。在ZJU上ac了,但是在这超时(改了快有4个小时),谁知道更好的算法,谢了! Posted by:rruucc at 2003-08-07 01:55:40
据说是两次动规

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