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

偶只会贪心

Posted by c0500301036 at 2005-03-18 18:59:35 on Problem 2287
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:
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