题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6119
题意:中文题
解析:首先需要能合并的区间都合并了(按L排序后扫一遍),因为题目有明确说明,接着把每个区间之间的差值处理出来,然后尺取做一遍,维护一下答案即可,要注意,剩下的补签卡,可以直接签在已经维护好的那个区间的后面
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6119
题意:中文题
解析:首先需要能合并的区间都合并了(按L排序后扫一遍),因为题目有明确说明,接着把每个区间之间的差值处理出来,然后尺取做一遍,维护一下答案即可,要注意,剩下的补签卡,可以直接签在已经维护好的那个区间的后面
上一篇:hdu6114 Chess
JAVA 对50取余数
Problem Description 度度熊正在学习双端队列,他...
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M