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 |
偶只会贪心In Reply To:Re:高人来救救偶啊,这题怎么做啊?wa得天昏地暗,怎么dp?怎么贪心?给点提示吧,不胜感激~~ Posted by:palmtenor at 2005-03-14 20:28:41 先用田纪的最次的与皇上的最好的比(比速度,不是真正的比赛) 若田纪赢,就这样比赛,若田纪输,就将田纪最次的与皇上最好的比赛, 若速度一样,就要向后查找………… O(n^2)的贪心 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator