文件名称:C-language-interval-operation
-
所属分类:
- 标签属性:
- 上传时间:2015-04-11
-
文件大小:3.12kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
允许两个操作,add(min,max)和del(min,max),一开始区间内为空,每个操作后算出区间内的集合,要求能自动合并、拆分集合。例如:
操作1:add(1,7) 区间内的集合:(1,7)
操作2:add(9,10) 区间内的集合:(1,7)、(9,10)
操作3:del(3,5) 区间内的集合:(1,2)、(6,7)、(9,10)
操作4:add(3,8) 区间内的集合:(1,10)-Allow two operations, add (min, max) and del (min, max), beginning within the range is empty, calculated after each operation within the set range, the request can be automatically merged, split sets. For example:
Operation 1: add (1,7) interval collection: (1,7)
Action 2: set interval of add (9,10): (1,7), (9,10)
Action 3: set interval of del (3,5): (1,2), (6,7), (9,10)
Operation 4: add (3,8) interval collection: (1,10)
操作1:add(1,7) 区间内的集合:(1,7)
操作2:add(9,10) 区间内的集合:(1,7)、(9,10)
操作3:del(3,5) 区间内的集合:(1,2)、(6,7)、(9,10)
操作4:add(3,8) 区间内的集合:(1,10)-Allow two operations, add (min, max) and del (min, max), beginning within the range is empty, calculated after each operation within the set range, the request can be automatically merged, split sets. For example:
Operation 1: add (1,7) interval collection: (1,7)
Action 2: set interval of add (9,10): (1,7), (9,10)
Action 3: set interval of del (3,5): (1,2), (6,7), (9,10)
Operation 4: add (3,8) interval collection: (1,10)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
C语言区间操作/C练习第一题算法描述.doc
C语言区间操作/Interval_Operation.c
C语言区间操作/Interval_Operation.c
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
