-
扫雷(图遍历)
背景
你玩儿过扫雷游戏吧?有个操作系统中带了这个小游戏,那个系统叫什么来着?;-)在游戏中要想过关,就必须要在一个 NxM 的区域上找出所有的地雷。游戏过程中,计算机会在地图上显示一些数字从而帮助你确定哪里有地雷。例如,在下面这个有两颗地雷的 4x4 的地图(*表示地雷):
*...
....
.*..
....
根据上面的地图,可以计算出应该提供给游戏者的数字如下所示:
*100
2210
1*10
1110
每个数字表示了该方格周围到底有几个地雷,当然,一个方格周围最多的时候只会有八个。
输入
输入中将包括一系列的地图,每个地图的第一行有两个整数 n 和 m(0
- 2022-01-25 19:22:18下载
- 积分:1
-
Based on M/G/K multi
基于M/G/K 多类别共用一个资源的最优化分配问题程序 主要以系统总等待时间为目标函数-Based on M/G/K multi-class share an optimization of resources allocation process is essentially the system as the objective function the total waiting time
- 2022-03-04 17:10:15下载
- 积分:1
-
运用最小二乘法的数值拟合,以及得到的结果
运用最小二乘法的数值拟合,以及得到的结果-Numerical application of least squares fitting, as well as the results
- 2022-05-31 07:54:22下载
- 积分:1
-
曼彻斯特编解码 Xilinx提供 Verilog代码manchester_verilog
曼彻斯特编解码 Xilinx提供 Verilog代曼曼彻斯特编解码 Xilinx提供 Verilog代码manchester_verilog彻斯特编解码 Xilinx提供 Verilog代码manchester_verilog码manchester_verilog
- 2023-03-26 14:35:03下载
- 积分:1
-
一个tabu search算法框架
一个tabu search算法框架-a tabu search algorithm framework
- 2022-01-27 18:23:08下载
- 积分:1
-
stl文件读取与显示
应用背景STL =
STL文件,一种3D模型文件格式STL(STereo Lithography的缩写)
STL文件格式是由3D SYSTEMS 公司于1988
年制定的一个接口协议,是一种为快速原型制造技术服务的三维图形文件格式。STL 文件由多个三角形面片的定义组成,每个三角形面片的定义包括三角形各个定点的三维坐标及三角形面片的法矢量。三角形顶点的排列顺序遵循右手法则。 STL 文件有2 种类型:文本文件(ASCII格式)和二进制文件(BINARY)。关键技术This program may crash your system or run poorly depending on your
hardware. The program and code contained in this archive was scanned
for virii and has passed all test before it was put online. If you
use this code in project of your own, send a shout out to the author!
- 2022-05-08 08:33:51下载
- 积分:1
-
a second search process, I developed! Members can download the generous support...
一维搜索程序第二种方法,我自己编的!大家多多下载,多多支持啊!-a second search process, I developed! Members can download the generous support ah!
- 2022-10-31 04:35:03下载
- 积分:1
-
Mathematical modeling of the classical algorithm, including the most short
数学建模的经典算法实现,其中包括最短路等问题的实现-Mathematical modeling of the classical algorithm, including the most short-circuit issues such as the realization of
- 2022-03-20 01:55:37下载
- 积分:1
-
gentic算法的多目标优化
MOEA/ D(多目标进化基于分解算法)是一个通用的算法框架。它分解一个多目标优化问题转化为多个不同的单目标优化的子(或简单的多目标优化子问题),然后使用人群为基础的方法,同时优化这些子问题。
- 2022-01-24 10:14:17下载
- 积分:1
-
逐点比较法直线插补算法
逐点比较法直线插补c语言程序.doc
运动 控 制 技术是现代自动控制技术的一个重要分支,它在工业生
产中发挥着越来越重要的作用。近些年来,随着微电子技术和电力电
子技术的飞速发展,运动控制系统正朝着通用化、智能化、微型化的
方向发展。以开放式运动控制结构为代表的运动控制技术将成为今后
运动控制技术发展的主流。
- 2023-08-17 01:45:02下载
- 积分:1