文件名称:qjfg
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:720byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用i来表示x轴上坐标为[i-1,i]的区间(长度为1),并给出M(1≤M≤200)个不同的整数,表示M个这样的区间。现在让你画几条线段覆盖住所有的区间,条件是:每条线段可以任意长,但是要求所画线段的长度之和最小,并且线段的数目不超过N(1≤N≤50)。-I to the coordinates of the x-axis is the interval [i-1, i] of (1), and gives M (1 鈮� M 鈮� 200) integer, said the M interval. Allows you to draw several line segments cover all interval conditions are: each segment can be any length, but requires painting segment length and minimum, and the number of line segments does not exceed N (1 鈮� N 鈮� 50).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
区间覆盖问题.cpp
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
