-
程序存储问题:设有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
-
一套反出来的股票分析软件,对于分析程序结构和数据结构有一定的帮助....
一套反出来的股票分析软件,对于分析程序结构和数据结构有一定的帮助.-By a set of anti-stock analysis software for the analysis of program structure and data structure have some help.
- 2022-04-10 01:17:17下载
- 积分:1
-
sqlite是一种嵌入式数据库。本文件包含了操作此数据库的一个类。该类实现了sqlite的所有操作,并具有良好的注释说明。...
sqlite是一种嵌入式数据库。本文件包含了操作此数据库的一个类。该类实现了sqlite的所有操作,并具有良好的注释说明。-sqlite is an embedded database. This document contains the operation of this database, a class. Sqlite class implements all the operations, and has a good explanatory notes.
- 2022-03-19 00:27:37下载
- 积分:1
-
数据结构实验程序
线性表
栈和队列
二叉树
图
查找
内部排序...
数据结构实验程序
线性表
栈和队列
二叉树
图
查找
内部排序-Experimental procedures for linear data structures stack and queue table tree diagram to find the internal order
- 2023-08-17 09:45:03下载
- 积分:1
-
清华大学出版的数据结构(C++)的配套课件
清华大学出版的数据结构(C++)的配套课件-Tsinghua University published the data structure (C) matching courseware
- 2022-03-04 09:03:35下载
- 积分:1
-
SQLite源代码! SQLite源代码!
SQLite源代码! SQLite源代码!-SQLite source code! SQLite source code! SQLite source code!
- 2022-03-24 19:50:15下载
- 积分:1
-
数据结构效验算法
数据结构效验算法-data structure well-tested algorithm
- 2023-07-03 03:05:04下载
- 积分:1
-
数据结构最小生成树
数据结构最小生成树-minimum spanning tree data structure
- 2023-09-05 01:40:04下载
- 积分:1
-
能够输入节点 然后完成图的广度优先遍历
能够输入节点 然后完成图的广度优先遍历-Able to enter the node and then complete the graph breadth-first traversal
- 2022-04-24 22:36:03下载
- 积分:1
-
本书讲解了常见而且实用的组合数学算法 可以作为算法分析和设计的补充读物 非常不错的一本书!!!!!!!!!!!!!!!!!1...
本书讲解了常见而且实用的组合数学算法 可以作为算法分析和设计的补充读物 非常不错的一本书!!!!!!!!!!!!!!!!!1-book on the common and practical portfolio mathematical algorithms can be used as algorithm analysis and design of supplementary reading materials is a good one book
- 2022-05-08 10:43:59下载
- 积分:1