登录
首页 » 算法 » 一个acm算法题目 问题描述: 有一个黑盒子,可视为一个15×10的二维矩阵,里面有一些空隙,在二维矩阵中用0表示空隙,用1表示被占有。现有一个仪器,可以从4个...

一个acm算法题目 问题描述: 有一个黑盒子,可视为一个15×10的二维矩阵,里面有一些空隙,在二维矩阵中用0表示空隙,用1表示被占有。现有一个仪器,可以从4个...

于 2022-07-08 发布 文件大小:4.97 kB
0 149
下载积分: 2 下载次数: 1

代码说明:

一个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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • nfa 转换到 dfa
    这是在源代码的 NFA DFA 转换到c#.欢迎下载,然后再试。谢谢您的支持!
    2022-02-13 06:37:54下载
    积分:1
  • 数值分析插值
    数值分析插值算法-numerical analysis interpolation algorithm
    2022-03-30 18:09:41下载
    积分:1
  • Kernelized Correlation Filters(KCF)
    资源描述目前在online visual tracking这个领域,已经涌现出很多的跟踪算法,比较知名如TLD,Struck,OAB,CT 等等。但是能做到非常快速而且效果还不错的相对就较少了,好多算法都是刚刚能实时,而且还是在图像分辨率不是很大的情况下。之前在博客里提到一篇该领
    2022-07-14 05:51:15下载
    积分:1
  • 基于c++的操作系统模拟
    自己写的小型操作系统模拟算法,基于加算计学院的同学们,期末的课程设计,用C++编写,尤其是信心安全专业的同学可以下载使用。效率高,比较实用,希望可以对大家有用
    2022-08-05 21:38:25下载
    积分:1
  • Computational fluid dynamics as a new method of landmark
    作为对计算流体力学划时代共享的新方法。roe格式对于差分格式的构造提供了新的全新的领域!Fortran编写-Computational fluid dynamics as a new method of landmark-sharing. roe format structure for the difference scheme provided a new field of brand new! Fortran prepared
    2022-06-16 12:39:03下载
    积分:1
  • C++实现乘子最优化
    利用VC6.0开发的C++实现乘子法最优化算法,程序能够运行,并得到结果。乘子法是有约束最优化算法中相对比较好的一种算法,它与惩罚函数法相比,避免了出现病态矩阵的情况,使目标函数更加快速收敛,改程序实现了乘子法算法,对方程求解其最优化的解
    2022-06-02 18:25:21下载
    积分:1
  • 一个公平的经验,农历和男性的经验
    支持公历、农历及公历转农历使用公式法(不是查表法)的日历控件,完全自主开发。- A fair experience, the lunar calendar and the male experience transfer the lunar calendar use formula law (is not Zha Biaofa) the calendar controls, completely independently develops.
    2023-05-04 12:35:02下载
    积分:1
  • a very good interpolation procedures
    一个非常好的插值程序-a very good interpolation procedures
    2023-04-16 01:15:03下载
    积分:1
  • c实现的A律/mu律pcm编译码 只需要根据不同的需要更改输入数据即可...
    c实现的A律/mu律pcm编译码算法 只需要根据不同的需要更改输入数据即可-c achieve A legal/mu legal pcm encryption algorithm based on different needs only the need to change the input data can be
    2022-09-06 07:50:03下载
    积分:1
  • data mining algorithms decision tree classification algorithm presentations and...
    数据挖掘分类算法决策树学习算法介绍以及SEE5的使用说明-data mining algorithms decision tree classification algorithm presentations and the use SEE5
    2023-04-10 22:10:04下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载