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 |
是不是我想简单了?我的想法是先按起点给区间排序 删除包含其他区间的区间,满足小区间就一定满足大区间。则终点也严格递增 然后根据当前情况选区间的起点和终点或只终点或都不选 可是看discuss里的帖子,差分约束之类的,都没听过,是我想得太简单了吗? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator