-
程序目的: 输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有4个测试迷宫路径的 文件...
程序目的: 输入一个任意大小的迷宫,用栈求出一条走出迷宫的路径,并 显示在屏幕上。 程序实现: 可以实现载入迷宫和保存迷宫,附带文件中有4个测试迷宫路径的 文件test1~4.dd。请将这些文件拷贝到TC当前目录下,或者在载 入时写明完全路径。由于屏幕大小的限制,当用户自己输入迷宫 时一定要注意:迷宫大小是有限制的,不小于4*3,不大于30*20。 否则会出现错误信息。输入开始时全是墙,用上下左右键移动, 用Del键删除墙,形成通路,用Enter键添加墙。输入结束时可以 将迷宫保存下来,以dd为扩展名。输入完毕时用F9键来得到结果, 找到路径时,屏幕下方会出现Path found,否则出现Path not found。 程序经Turbo C 2.0编译调试成功。运行时不用添加任何运行库。 不可以在VC上编译。-procedures purpose : to bring in a maze of arbitrary size, with a stack get out of the maze of trails and on the screen. Program : can achieve and preserve the printed maze maze, the accompanying documents were four test maze of trails to document test1 4.dd. I would be grateful if those files are copied to the TC current directory, or in the state when fully contained path. Due to restrictions on the size of the screen when the user input labyrinth must pay attention to : the size of the maze is a restriction, not less than 4* 3, not more than 30* 20. Otherwise there will be a wrong message. At the beginning of the importation of a
- 2022-08-06 12:51:19下载
- 积分:1
-
a simulated Poisson random process of small programs. System can calculate the a...
一个模拟泊松随机过程的小程序。可以计算系统平均等待时间,和平均对列长度。系统参数如 到来速率及离开速率均可在头文件里修改。另外通过修改头文件factorK可以将到来序列的概率分布改为Erlang分布。-a simulated Poisson random process of small programs. System can calculate the average waiting time, and the average length of the list. The system parameters such as the rate of arrival and departure rates can be found in the first document changes. Through the first revised document will come factorK sequence probability distribution instead Erlang distribution.
- 2022-06-26 22:44:57下载
- 积分:1
-
井字游戏:为双人对弈游戏,双方轮流放子,单任一行,列,斜线为三个相同的 子时即为胜利!...
井字游戏:为双人对弈游戏,双方轮流放子,单任一行,列,斜线为三个相同的 子时即为胜利!-gridwork game : Chess game for a double, the two sides take turns in taking sons, single-line series of three slash the same firm shall victory!
- 2023-06-06 08:10:03下载
- 积分:1
-
这是一个权威的文章,代码,其代码然后贴文章…
这是一篇权威文章的代码,现将其代码随后附上文章-This is an authoritative article, code, now its code then attached to the article
- 2022-08-23 07:04:26下载
- 积分:1
-
基于Delphi的Access压缩程序
界面相当漂亮的Delphi数据库压缩程序,本程序的压缩对象是 Access数据库,SQL版的暂后发布。通过本压缩程序,可自动清空Access中的无用数据,空数据行信息,减少Access体积,除了压缩功能外,本程序的界面也是一大亮点,是不是挺漂亮?
- 2022-06-26 05:45:04下载
- 积分:1
-
The compression package can appear to CAD accident pictures and video conversion...
这个压缩包可以显现把CAD意外的图片和视频转换到AUTOCAD中去,并且不需要源文件。-The compression package can appear to CAD accident pictures and video conversion to AUTOCAD go, and do not need the source file.
- 2022-06-28 06:31:12下载
- 积分:1
-
非平稳信号分析之时频分析工具箱,附加使用说明文档。Time
非平稳信号分析之时频分析工具箱,附加使用说明文档。Time-Frequency toolbox, with reference guide.-Non-stationary signal analysis of time-frequency analysis toolbox, additional use of documentation. Time-Frequency toolbox, with reference guide.
- 2022-03-18 00:25:56下载
- 积分:1
-
PQ分解法,有些还需要改进,该程序所对应的例子是东南大学陈珩编的《电力系统稳态分析(第二版)》的例4...
PQ分解法,有些还需要改进,该程序所对应的例子是东南大学陈珩编的《电力系统稳态分析(第二版)》的例4-5-PQ decomposition, some also needs to be improved, The procedure corresponding to the example of Southeast University, Chen Heng addendum to the "steady-state power system analysis (second edition)" 4-5 cases
- 2022-10-15 17:35:02下载
- 积分:1
-
只显示数字的Flash LOADING,随机位置随机大小随机数量
一款只显示数字的Flash LOADING特效源码,它是随机显示位置随机大小随机数量的,任何地方都可以显示数字的百分比,且大小和数量不一,整体看着很炫的感觉。
- 2022-03-19 20:28:03下载
- 积分:1
-
Description
给定一个有N个矩阵的矩阵链A1A2A3...An,矩Ai的维数为pi...
Description
给定一个有N个矩阵的矩阵链A1A2A3...An,矩Ai的维数为pi-1*pi。我们都知道,使用朴素的矩阵乘法去乘两个维数分别为x,y和y,z的矩阵,所需要的乘法次数为x*y*z。矩阵链乘法问题就是如何对矩阵乘积加括号,使得它们的乘法次数达到最少。
Input
输入的第一行为一个正整数N(1
- 2022-02-24 20:30:36下载
- 积分:1