-
一个acm算法题目 问题描述: 有一个黑盒子,可视为一个15×10的二维矩阵,里面有一些空隙,在二维矩阵中用0表示空隙,用1表示被占有。现有一个仪器,可以从4个...
一个acm算法题目 问题描述: 有一个黑盒子,可视为一个15×10的二维矩阵,里面有一些空隙,在二维矩阵中用0表示空隙,用1表示被占有。现有一个仪器,可以从4个方向对盒子进行分行透视:从左到右,从左下到右上,从下到上,从右下到左上。透视可得到该二维矩阵的该行1的个数。要求,还原此矩阵。 输入:4行,每一行分别代表从左到右,从左下到右上,从下到上,从右下到左上透视所得的数据 输出:该矩阵 使用的方法是回溯法,具体见程序-a acm algorithm topic Problem description : a black box, as a 15 x 10 two-dimensional matrix, there are some gaps in two-dimensional matrix using 0 indicates the gap, with a show that occupies. An existing equipment, from the direction of four branches box for perspective : from left to right, from the lower left to upper right, from bottom to top, from the lower right to upper left. Perspective availability of the two-dimensional matrix of the line a number. Demand reduction of this matrix. Input : 4 firms on behalf of every line from left to right, from the lower left to upper right, from bottom to top, from the upper left to lower right perspective on data obtained from the output : the matrix method is the use of backtracking, see the specific procedures
- 2022-07-08 10:50:46下载
- 积分:1
-
大数相乘、计算时间、josep问题、计算JC、分形图形
大数相乘、计算时间、josep问题、计算JC、分形图形-multiply large numbers, computation time, Josep, calculated JC, fractal graphics
- 2023-06-08 14:25:05下载
- 积分:1
-
Zip压缩源代码
资源描述Zip压缩源代码Zip压缩源代码Zip压缩源代码Zip压缩源代码Zip压缩源代码Zip压缩源代码Zip压缩源代码Zip压缩源代码Zip压缩源代码Zip压缩源代码Zip压缩源代码Zip压缩源代码
- 2022-04-09 20:28:58下载
- 积分:1
-
支持向量机 Python 项目
这是支持的向量机 (SVM) 的代码。在 SVMProject.zip 中,你会得到一个 eclipse 项目。将导入到 eclipse,python 的源代码和它的数据。svm.py 包含支持向量机算法和实用程序函数。matplot.py 是图的功能。main.py 是这个项目的中考。
- 2022-03-20 12:59:10下载
- 积分:1
-
利用Fortran77对2D FDTD算法进行实现
利用Fortran77对2D FDTD算法进行实现,通过入射波,吸收边界的设定,电场和磁场强度的迭代计算,获得最终
位置的电场强度和磁场强度的描述。
- 2022-02-26 03:53:21下载
- 积分:1
-
Cantor Table : Problem description : put both the numerator and the denominator...
Cantor 表问题: 问题描述: 把分子和分母均小于108 的分数按下面的办法排成一个数表。 1/1 1/2 1/3 1/4 1/5 ... 2/1 2/2 2/3 2/4 2/5 ... 3/1 3/2 3/3 3/4 3/5 ... 4/1 4/2 4/3 4/4 4/5 ... 5/1 5/2 5/3 5/4 5/5 ... ... ... 我们以Z 方形方法给上表的每项编号。第一项是1/1,第二项是1/2, 然后是2/1,3/1,2/2,1/3,1/4,2/3,3/2,4/1,5/1,4/2,...... 要求:对于给定的输入的编号N(0
- 2022-03-21 20:56:33下载
- 积分:1
-
表格线打印算法C语言源程序
表格线打印算法C语言源程序-form lines Print algorithm C language source
- 2022-08-06 16:58:02下载
- 积分:1
-
流利的与# 39动态网格的例子
Fluent的动网格算例,应该算是比较常用的类型。源文件和演示文件都有。-Fluent" s dynamic mesh example
- 2022-08-09 04:51:54下载
- 积分:1
-
搜索算法,可以直接使用~~~
二分查找(Binary Search) 二分查找又称折半查找,它是一种效率较高的查找方法。 二分查找要求:线性表是有序表,即表中结点按关键字有序,并且要用向量作为表的存储结构。不妨设有序表是递增有序的。
- 2022-06-15 14:57:32下载
- 积分:1
-
压缩感知算法效果对比(内含完整代码、包括OMP、CoSaMPl以及SP算法的对比,代码简单易懂)
压缩感知算法效果对比(内含完整代码、包括OMP、CoSaMPl以及SP算法的对比,代码简单易懂)
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
- 2022-03-29 16:39:11下载
- 积分:1