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:TLE,用的背包DP???????????In Reply To:TLE,用的背包DP??????????? Posted by:BJ051155 at 2007-07-12 20:32:11 你用scanf就不会超时了,但你的代码是WA的 我是先按颜色排序,用背包求每种颜色衣服的最少时间,加起来就可以了 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator