-
程序存储问题:设有n 个程序{1,2,…, n }要存放在长度为L的磁带上。程序i存放在磁带上的长度是Li ,1≤i≤n 程序存储问题要求确定这n 个程序在磁带...
程序存储问题:设有n 个程序{1,2,…, n }要存放在长度为L的磁带上。程序i存放在磁带上的长度是Li ,1≤i≤n 程序存储问题要求确定这n 个程序在磁带上的一个存储方案,使得能够在磁带上存储尽可能多的程序。 编程任务: 对于给定的n个程序存放在磁带上的长度,编程计算磁带上最多可以存储的程序数。 数据输入:由文件input.txt给出输入数据。第一行是正整数n,表示文件个数。接下来的1 行中,有n 个正整数,表示程序存放在磁带上的长度。 结果输出: input.txt output.txt 6 50 5 2 3 13 8 80 20 -program storage problem : There n procedures (1,2, ..., n) to be stored in the length of the L tape. I kept in the proceedings on the tape length is Li, 1 i n storage procedures to seek to establish that n procedures on tape storage of a program that allows the tape to store as much as possible the procedure. Programming tasks : to the n procedures stored in the tape length, calculated programming on tape can store up to the number of procedures. Data input : from the document input.txt given input data. The first line is a positive integer n, said the document number. Following a visit, n is an integer, said procedures stored on tape length. Results output : input.txt output.txt 6 50 5 2 3 13 8 80 20
- 2023-01-10 04:30:04下载
- 积分:1
-
对于小型图书销售书店而言此软件具有图书销售管理功能,可大大减轻Boss的工作量及帐目清算工作。也对这方面软件开发者有参考价值。...
对于小型图书销售书店而言此软件具有图书销售管理功能,可大大减轻Boss的工作量及帐目清算工作。也对这方面软件开发者有参考价值。-book sales for small bookstores run the software with book sales management functions. Boss can greatly reduce the workload and accounts for liquidation. Also in this area software developers have reference value.
- 2022-11-12 17:25:03下载
- 积分:1
-
ADBMS document for procedures and triggers
ADBMS document for procedures and triggers
- 2022-04-17 19:26:43下载
- 积分:1
-
包括窗体与界面、控件、系统、文件、图形图像、多媒体、数据库 、网络、动态链接库等...
包括窗体与界面、控件、系统、文件、图形图像、多媒体、数据库 、网络、动态链接库等-Including the form and interface, controls, systems, documents, graphics and video, multimedia, database, network, dynamic link libraries, etc.
- 2023-04-01 22:55:14下载
- 积分:1
-
SHELL排序算法与应用
SHELL排序算法与应用-SHELL algorithm and application
- 2022-03-22 23:07:56下载
- 积分:1
-
嵌入式数据库软件
嵌入式数据库软件
嵌入式数据库软件
嵌入式数据库软件
嵌入式数据库软件
嵌入式数据库软件-Embedded database software for embedded database software for embedded database software
- 2023-07-16 06:05:03下载
- 积分:1
-
通过客户端IP转向指定的城市页面
数据库含23万条数据,删除了所有国外的IP地址,查询不到的IP都被转到“北京”...
通过客户端IP转向指定的城市页面
数据库含23万条数据,删除了所有国外的IP地址,查询不到的IP都被转到“北京” -Client IP through the city towards the designated page database containing 230,000 data, delete all foreign IP addresses, inquiries have been less than the IP to the
- 2022-10-12 23:55:03下载
- 积分:1
-
孙鑫kecheng1源代码
sun xin kecheng1 yuandaima
- 2023-02-25 19:10:03下载
- 积分:1
-
used to write the right matrix inversion algorithm, the introduction of direct i...
用c写的对矩阵求逆的算法,采用直接迭代,适合2阶和3阶矩阵-used to write the right matrix inversion algorithm, the introduction of direct iteration, for two bands and three bands Matrix
- 2022-02-05 09:38:44下载
- 积分:1
-
车厢重排,一个c++数据结构习题
车厢重排,一个c++数据结构习题-compartments rearrangement, a data structure c Exercises
- 2022-05-22 11:57:54下载
- 积分:1