文件名称:programSave
介绍说明--下载内容均来自于网络,请自行研究使用
1、问题描述:
设有n 个程序{1,2,…, n }要存放在长度为L的磁带上。程序i存放在磁带上的长度是i l , 1 ≤i ≤n。程序存储问题要求确定这n 个程序在磁带上的一个存储方案,使得能够在磁带上存储尽可能多的程序。对于给定的n个程序存放在磁带上的长度,编程计算磁带上最多可以存储的程序数。-1, Problem descr iption: n procedures {1,2, ..., n} to be stored in the length L of the tape. I stored in the program on the tape length il, 1 ≤ i ≤ n. Program storage problem requires a procedure to determine the n on the tape a storage solution, so that the tape can store as many programs. For a given n procedures stored in the tape length, programming and calculation can be stored on the tape program number.
设有n 个程序{1,2,…, n }要存放在长度为L的磁带上。程序i存放在磁带上的长度是i l , 1 ≤i ≤n。程序存储问题要求确定这n 个程序在磁带上的一个存储方案,使得能够在磁带上存储尽可能多的程序。对于给定的n个程序存放在磁带上的长度,编程计算磁带上最多可以存储的程序数。-1, Problem descr iption: n procedures {1,2, ..., n} to be stored in the length L of the tape. I stored in the program on the tape length il, 1 ≤ i ≤ n. Program storage problem requires a procedure to determine the n on the tape a storage solution, so that the tape can store as many programs. For a given n procedures stored in the tape length, programming and calculation can be stored on the tape program number.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
3.cpp