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题啊,为啥就是做不对呢?

Posted by lynxpengpeng at 2008-05-25 17:23:47 on Problem 1141 and last updated at 2008-05-25 17:25:22
In Reply To:感觉很标准的DP题啊,为啥就是做不对呢? Posted by:woaichuiniu at 2007-08-07 17:12:42
dp 是对的,不过if else 中,两种构造是并列的,无先后,
比如()() 下标为 1 2 3 4 那么A B构造是最少的,而)( = ()(),在构造)( 就不对了,结果会成为 (()()),不知道我说的对不对,仅供参考

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