-
修道士和野人问题
经典的修道士和野人过河问题,
1、可以选择修道士和野人的人数,
2、可以输出过河的详细方案,
3、代码清晰含注释,
- 2022-05-16 12:35:42下载
- 积分:1
-
二维图形的几何变换
计算机图形学实例,实验题目:将 矩形ABCD(A(20,20), B(20, 100), C(80, 20), D(80,100)) 在 X方向平移 30个单位,Y方向平移 60个单位,X方向缩小2倍,Y方向缩小2倍。实现二维图形的基本变换,包括平移、缩放。
- 2022-03-06 03:34:48下载
- 积分:1
-
havel定理
这是一个学生管理的简单代码,它是基于MFC的对话框,在这里面,使用了MFC的数据库类CDatabase和CRecordset这两个封装好了的类,同时他实现了基本的学生管理功能,可以用来学习或者练手
- 2022-06-26 03:04:30下载
- 积分:1
-
计算任意整数的节乘的精确数值,计算速度比较快
计算任意整数的节乘的精确数值,计算速度比较快-Arbitrary integer section calculated by the exact numerical calculation of the faster
- 2022-03-02 18:57:49下载
- 积分:1
-
散列函数源代码
散列表通常是关键字和值对应的数据结构,散列函数用于把关键字映射到相应的数组索引号,由于散列表中每个元素访问到的概率不同,所以应该选用不同的散列函数,以提高程序的查找效率
- 2022-03-12 10:53:15下载
- 积分:1
-
BFS迷宫图片画线子函式
BFS 迷宫图片 画线 子函式.......可完成自动 画线存图.......广度搜寻演算法.........
- 2023-01-05 05:30:03下载
- 积分:1
-
讯号的算法 (消除 cfg 桩中的左的递归)
分配订购 A1 ;:::;对 nonterminals 的语法。
我: = 1 到 n 做开始为 j: = 1 到 1 做开始为每个窗体 Ai 的生产 !Aj做开始删除 Ai !Aj从每个生产的形式 Aj 的语法 !做开始添加 Ai !端端端的语法变换 Ai-生产,消除直接左的递归结束
- 2022-03-14 05:20:50下载
- 积分:1
-
The first two for the artificial intelligence program, prepared with the C++, re...
前两个为人工智能程序,用C++编写,分别是动物判别程序及实现异或算法的bp程序。BLUETOOTH和F2M_BLUETOOTH是单片机和蓝牙模块通信的程序。“数字示波器”为利用单片机开发的一个简单数字示波器程序。-The first two for the artificial intelligence program, prepared with the C++, respectively, determine the procedures and implementation of animal XOR algorithm bp procedures BLUETOOTH.C and F2M_BLUETOOTH.C microcontroller and Bluetooth module is a communication process digital oscilloscope. C for the use of MCU development of a simple digital oscilloscope program.
- 2022-07-27 16:52:17下载
- 积分:1
-
算两个整数相除,可以算到小数点后无穷位.用的是数组.可以看一下...
算两个整数相除,可以算到小数点后无穷位.用的是数组.可以看一下-count two integer eliminate, to be counted after the decimal point infinite spaces. Use the array. Can look at the
- 2022-08-19 06:02:58下载
- 积分:1
-
这是一个简单的演示如何评价文本的数学表达式
This a simple demo of how to evaluate mathematical expressions in text
format, including provision for variables and functions. The code consists of
three simple classes: 1) Calc - which does the main calculations, 2) Stack -
which is used to push and pop intermediate operators and numbers and 3)
Symbol Table. The symbol table is a collection of calc symbols, a type structure
consisting of various elements, including the expression name, function name,
and the final value of the expression The evaluation procedure is done in three
steps: 1) simplify the expression by removing all the elements within () and
storing them in subexpressions within the symbol table. 2) Each of these sub
expressions are then converted to RPN format (Reverse polar notation) and
evaluated 3) Finally, the main expression is converted to RPN and evaluated-This is a simple demo of how to evaluate mathematical expressions in text
format, including provision for variables and functi
- 2022-02-20 06:26:41下载
- 积分:1