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 cpp0600548202 at 2006-05-13 14:37:42 on Problem 1716
我的想法是先按起点给区间排序
删除包含其他区间的区间,满足小区间就一定满足大区间。则终点也严格递增
然后根据当前情况选区间的起点和终点或只终点或都不选
可是看discuss里的帖子,差分约束之类的,都没听过,是我想得太简单了吗? 

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