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 forestgump2012 at 2024-03-05 19:25:52 on Problem 1230
  从左至右去除最长的阻碍墙。具体为:对于每列,检查阻碍它的所有墙,不断删除当前最长的墙,直到符合K值。  墙的当前长度为:墙的右端点到当前列跨度。

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