-
使用贪婪算法解决的马踏棋盘的问题(使用简单排序和深度优先搜索的方法)...
使用贪婪算法解决的马踏棋盘的问题(使用简单排序和深度优先搜索的方法)-Greedy algorithm used to resolve the issue of horse riding board (using a simple sorting and depth-first search method)
- 2022-03-01 19:35:57下载
- 积分:1
-
1、本程序的作用是进行TEST语言的词法分析。 2、可双击运行后输入文件名,或是在命令提示符下输入test 文件名……,支持多个文件同时进行词法分析。 3、本程...
1、本程序的作用是进行TEST语言的词法分析。 2、可双击运行后输入文件名,或是在命令提示符下输入test 文件名……,支持多个文件同时进行词法分析。 3、本程序是在VC6.0环境下测试通过,用的是C++语法。当然也有C的语法。 4、本程序留下了很多的接口以待以后的语法分析和语义分析实验时进行扩展。比如已将词法分析结果记入到了一个顺序存储的数据结构中,以待后用。 5、程序扫描处理一部分是经孙悦红老师的示范程序修改而成,(增加了一些功能)其他部分为了适应自己的接口,都是由本人编写。-one, the process is the role of TEST language lexical analysis. 2, double-click operation input file name, or under the command prompt test input file name ... supports multiple documents simultaneously lexical analysis. 3, the procedure was VC6.0 testing environment, using the C syntax. Of course, there are C syntax. 4, the process left a lot of interface to question the future of grammar analysis and semantic analysis experiments expansion. For example, lexical analysis has been credited to a sequence of data storage structures to be used later. 5, the scanning process is handled by the part of teachers Coaldale red model procedures and revisions, (an increase of some function) in order to adapt to other parts of the interface are all prepared b
- 2022-02-11 12:24:13下载
- 积分:1
-
LBM的二维模拟空腔流
应用背景关键技术子程序collesion(U,V,F,信,Rho,欧米茄,W,CX,CY,n,m)真正的F(0:8,0:N,0米)真正的信(0:8,0:N,0米),ρ(0 N,0米)真正的W(0:8),CX(0:8),CY(0:8)真正的U(0 N,0米),V(0 N,0米)我= 0,N做J = 0,MT1 = U(i,j)×U(I,J)+ V(i,j)* V(I,J)做K = 0.8T2 = U(i,j)* CX(K)+ V(i,j)* CY(K)方程(K,I,J)=ρ(i,j)×W(k)*(1 + 3 + 4.50 * * T2 T2 t2-1.50 * T1)F(K,I,J)=ω*信(K,I,J)+(1。欧米茄)* F(K,I,J)结束做结束做结束做返回结束
- 2023-04-22 08:15:03下载
- 积分:1
-
CSV导出并转换为Python
- 2022-01-22 00:24:14下载
- 积分:1
-
用回溯法求解背包问题有n项假设,定…
用回溯解背包问题 假设有n件物品,定义一个结构体a[]来存储,结构体有两个成员weight和value(weight表示重量,value表示价值)先定义一个数组col[]表示每个物品当前状态(为1表示被选,为0表示未被选),其初值全为1,从下标为0开始遍历,当前所选物品总重和总价值分别设为tw和tv(初值均为0),背包的限重设为limit,若第i个物品满足tw+a[i].weight
- 2022-06-27 19:44:28下载
- 积分:1
-
模拟终端,和几种目录文件操作的系统命令,dir,cd,md,del等
模拟终端,和几种目录文件操作的系统命令,dir,cd,md,del等-analog terminal, and several catalog operation of the system commands, dir, cd, md, del etc.
- 2022-03-24 21:54:34下载
- 积分:1
-
一个关于分窗口程序,是用Visual C++编写。
a program about dividing window,which is written with Visual C++.
- 2022-02-01 00:51:07下载
- 积分:1
-
是一款用vc++编写的计算levshtein距离的程序.也就是可以做time alignment,计算两个文档之间最小的距离(插入,删除,替换的最小次数)...
是一款用vc++编写的计算levshtein距离的程序.也就是可以做time alignment,计算两个文档之间最小的距离(插入,删除,替换的最小次数)-is a preparation using vc levshtein distance calculation procedures. It is time to do alignment, the two documents between the calculated minimum distance (insertion, deletion, replacement of the smallest number)
- 2022-04-23 09:55:59下载
- 积分:1
-
赛马游戏
应用背景这场比赛是赛马的控制台。如果你 ;输入数马想比赛(max10)和 ;马输入名称(最多3个),你可以赛马游戏控制台。关键技术 ;我用gotoxy编码语法。
- 2022-08-17 01:27:25下载
- 积分:1
-
一个控制台下的验证哥德巴赫猜想的程序源码,我们当时课上的作业...
一个控制台下的验证哥德巴赫猜想的程序源码,我们当时课上的作业-Under a single console to verify the procedures Goldbach Conjecture source, and we had classes on operating
- 2022-08-19 10:18:38下载
- 积分:1