Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:感觉很标准的DP题啊,为啥就是做不对呢?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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator