-
一个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
-
随机亮小灯程序
应用背景
51单片机的必敲程序之一,通过使用灯的亮灭可以学习到如何操作51单片机的IO口,由浅入深地学习51单片机
关键技术通过一个随机程序,弄出一个随机值,然后通过对IO操作,最后输出到LED显示
- 2022-08-03 05:36:47下载
- 积分:1
-
匹配追踪算法
贪婪算法的一种
经典的算法,适用于压缩感知,稀疏分解等多种算法的恢复算法。
- 2023-03-04 07:10:03下载
- 积分:1
-
这是用VC++编写的计算器的源代码,可以进行简单的数学运算
这是用VC++编写的计算器的源代码,可以进行简单的数学运算-This is used VC++ Prepared calculator source code, you can perform simple arithmetic
- 2022-12-01 18:05:03下载
- 积分:1
-
随机表面生成
采用高斯分布生成随机表面。用计算机生成一个高斯分布白噪声二维随机序列,计算其傅里叶变换;
根据指定的自相关函数R通过傅里叶变换得到滤波器输出信号的功率谱密度
- 2023-06-03 05:00:03下载
- 积分:1
-
I[1].M.Smith所著的《有限元方法编程》第三版Fortran程序
I[1].M.Smith所著的《有限元方法编程》第三版Fortran程序-I [1]. M. Smith book
- 2022-02-09 23:50:34下载
- 积分:1
-
小波变换
- 2023-04-22 14:30:03下载
- 积分:1
-
此程序能将模拟滤波器转变为数字滤波器,在数字信号处理问题上有着广泛的应用...
此程序能将模拟滤波器转变为数字滤波器,在数字信号处理问题上有着广泛的应用-analog filter into digital filters, in digital signal processing problem has wide application
- 2022-02-20 17:46:59下载
- 积分:1
-
摄影测量中将数据读入,进行空间外方位元素的计算和控制测量点的确定...
摄影测量中将数据读入,进行空间外方位元素的计算和控制测量点的确定-Photogrammetry data will be read, space orientation element of calculation and measurement control points identified
- 2022-09-24 22:05:02下载
- 积分:1
-
使用RSA数字签名
//Rivest,Shamir,Adelman(RSA)#include#include#include#include#include#include#includeint enumber(char);char denumber(int);int CK_PRIME(long int);long int Get_GCD(long int,long int)
- 2022-01-22 03:04:32下载
- 积分:1