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

楼上正解啊,这组数据答案应该是4,而贪心算出来是3,还是老实用二分吧

Posted by a280920481 at 2018-12-26 14:36:08 on Problem 3258
In Reply To:Re:为什么我的贪心就不行呢?每次去掉最小区间两端点中的一个,并且使去掉后剩下的区间尽可能的大? Posted by:qddpx at 2012-07-29 05:38:38


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