-
44
说明: 给定程序中,函数fun的功能是:将a所指3×5矩阵中第k列的元素左移到第0列,第k列以后的每列元素依次左移,原来左边的各列依次绕道右边。
例如,有以下矩阵:
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
若k结果为2,程序执行结果为:
3 4 5 1 2
3 4 5 1 2
3 4 5 1 2
请在程序的下划线处填入正确的内容并把下划线删除,使程序得出正确的结果。
注意:源文件存放在考生文件夹下的BLANK1.C中
不得增行或删行,也不得更改程序的结构!
(A given program, function fun feature is: a 3 × 5 matrix referred to in the first k elements of the left column to move Section 0, the k elements of each column after column followed by the left, the original columns in the left turn Bypass on the right. For example, the following matrix: 123,451,234,512,345 If k is 2, the program execution results: 345,123,451,234,512 in the program underscore the right content at the fill and to remove the underscore, so that the program reach the right result. Note: The source files in the folder of BLANK1.C candidates are not allowed by the line or delete line, nor change the structure of the program!)
- 2011-08-11 07:53:10下载
- 积分:1
-
Addison
Addison-Velski 和 Landis (AVL-Tree s)的二叉树,可以在对数时间内进行标准的操作,如插入、搜索和删除。-Addison-Velski and Landis (AVL- Tree s) of the binary tree, the right time for a few of the standard operation, such as insert, delete and search.
- 2022-07-12 08:29:17下载
- 积分:1
-
prim算法是将一个无向图生成最小生成树的算法。其中一个是用最下堆实现的,已在压缩包的txt文件中说明。...
prim算法是将一个无向图生成最小生成树的算法。其中一个是用最下堆实现的,已在压缩包的txt文件中说明。-prim algorithm is an undirected graph generated minimum spanning tree algorithms. One of them is the most under the heap to achieve, has been compressed package txt-documented.
- 2022-09-13 04:55:02下载
- 积分:1
-
report!
数据结构实验报告!-report!
- 2022-01-26 02:20:17下载
- 积分:1
-
一个可以替代windows ODBC驱动程序管理器的通用ODBC数据库引擎
一个可以替代windows ODBC驱动程序管理器的通用ODBC数据库引擎- May substitute windows ODBC to actuate the program manager the
general ODBC database engine
- 2022-01-25 16:00:38下载
- 积分:1
-
known to a sequence of binary tree with the order, then the order of the output...
已知一个二叉树的前序与中序,输出其后序的程序。-known to a sequence of binary tree with the order, then the order of the output process.
- 2022-02-03 13:00:55下载
- 积分:1
-
BiTree
本算法用于实现二叉树的查找和输出,使用了数据结构中的二叉树结构,精髓在于使用了函数指针。(
This algorithm is used to find and implement binary output, use the data structure of the binary tree structure, the essence is the use of function pointers.)
- 2016-04-05 17:09:03下载
- 积分:1
-
算法与数据结构(python版)(北大内部教材)
算法与数据结构,python版本的,北大内部教材(Algorithms and Data Structures, Python Version, Peking University Internal Textbook)
- 2019-04-11 16:59:53下载
- 积分:1
-
数据结构中线性表的应用,约瑟夫环算法。便于数据结构的学习。...
数据结构中线性表的应用,约瑟夫环算法。便于数据结构的学习。-Linear data structure in the application form, Joseph Ring algorithm. Data structure to facilitate learning
- 2022-12-02 00:45:03下载
- 积分:1
-
数据结构
数据结构
数据结构
数据结构
数据结构
数据结构
数据结构
数据结构
-data structure data structure data structure data structure data structure data structure data structure data structure data structure
- 2023-02-03 21:55:03下载
- 积分:1