登录
首页 » 算法 » 行编辑算法:可将输错的单个字符删除,也可将又错误的一行字符删除。操作简便。用栈来实现上述功能。...

行编辑算法:可将输错的单个字符删除,也可将又错误的一行字符删除。操作简便。用栈来实现上述功能。...

于 2022-02-02 发布 文件大小:13.30 kB
0 108
下载积分: 2 下载次数: 1

代码说明:

行编辑算法:可将输错的单个字符删除,也可将又错误的一行字符删除。操作简便。用栈来实现上述功能。-line editor algorithm : can be wrong deletion of a single character, and it can also wrong to delete his characters. Easy to operate. Stack used to achieve the above functions.

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

发表评论

0 个回复

  • 基本为:先将1填入第一行中间位置;再依次将2
    基本算法为:先将1填入第一行中间位置;再依次将2-n方按如下规律填写://1,填入上个数上一行的右边位置,如果没有上一行则转到最后一行,如果右边没有方格//则转到最左边的方格。2,如果要填的位置上已经有数,则转填到它上一个数的下边方格//3,对于第一行的最后一个数的下一个数应填在该数下边的空格处-basic algorithm : a first Enter the middle of the first line; Another will be followed by 2-n-law filled out as follows :// 1, the number entered on the right side on his position, if not in his will to the last line, if not right box// then transferred to the most left while the box. 2, to fill the position of several, in turn, to fill it on a number of subordinate box// 3, the first trip to the final a few under a few should fill in the blank space of a few top candidate Department
    2022-02-05 03:13:23下载
    积分:1
  • 遗传优化随机共振
    应用背景随机共振利用噪声,可以增强信号。对于双稳态系统,朗之万方程的参数a,b对系统影响很大,需要合理选取。压缩包中有两个使用GA遗传算法的示例程序,一个简单一个较复杂。关键技术随机共振SR相比于以往的去噪技术,可以利用噪声进行信号增强。使用了遗传算法对系统的参数进行优化
    2022-04-15 13:35:32下载
    积分:1
  • 最小曲率扩边代码
    最小曲率扩边源代码,用于空白点补空,当在位场数据进行时域与频域转化时,离散数据必须为2的整数次幂,此时可对采集数据体利用最小曲率方法进行扩边,该算法精度较高,由于余弦扩边算法。
    2022-03-11 07:25:23下载
    积分:1
  • 常用的C程序。主要内容包括多项式的计、复数运、随机数的产生、矩阵运、矩阵特征值与特征向量的计、线性代数方程组的求解、非线性方程与方程组的求解、插值与...
    常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。-Commonly used algorithm of C procedures. Include polynomial terms, complex computation, random number generation, matrix operations, matrix eigenvalue and eigenvector calculations, linear algebra equations, nonlinear equations with the equations, interpolation and approximation, numerical integration, solving ordinary differential equations, data processing, for solving extremum problems, mathematical transformation and filtering, the calculation of special functions, sorting and search.
    2022-06-02 03:04:12下载
    积分:1
  • 应用maxplus ii 进行编写工作,主要是进行仿真,很有用
    应用maxplus ii 进行编写工作,主要是进行仿真,很有用-maxplus ii application for the preparation work is primarily for simulation, useful
    2022-09-08 05:45:02下载
    积分:1
  • 一、问题的提出: 某厂根据计划安排,拟将n台相同的设备分配给m个车间,各车间获得这种设备后,可以为国家提供盈利Ci j(i台设备提供给j号车间将得到的利润,...
    一、问题的提出: 某厂根据计划安排,拟将n台相同的设备分配给m个车间,各车间获得这种设备后,可以为国家提供盈利Ci j(i台设备提供给j号车间将得到的利润,1≤i≤n,1≤j≤m) 。问如何分配,才使国家得到最大的盈利L 二.算法的基本思想: 利用动态规划算法的思想,设将i台设备分配给j-1个车间,可以为国家得到最大利润Li (j-1)(1≤i≤n,1≤j≤m),那么将这i台设备分配给j个车间,第j个车间只能被分配到0~i台,所以我们只要算出当第j个车间分配到t(0
    2022-11-07 12:55:03下载
    积分:1
  • 用C++实现的多个,包括迭代
    用C++实现的多个算法,包括迭代-C achieved a number of algorithms, including iterative
    2022-01-25 14:57:06下载
    积分:1
  • photonic crystals used to calculate the band structure of the program, FORTRAN p...
    用来计算光子晶体能带结构的程序,用fortran编写,效果不错。-photonic crystals used to calculate the band structure of the program, FORTRAN prepared effectiveness.
    2023-01-24 08:40:03下载
    积分:1
  • pi的最新版源程序
    计算pi的最新版源程序-calculated pi to the latest version of the source
    2022-03-14 00:16:20下载
    积分:1
  • jacobi,gauss,迭代以及lu分解求解线性方程组
    LU分解进行方程组的求解需要将系数矩阵进行分解,数值分析中更喜欢用迭代法来逼近真解利用迭代进行方程组的求解,将其转化成机械的运算,收敛性较好,能达到较高精度
    2022-01-25 14:40:01下载
    积分:1
  • 696516资源总数
  • 106633会员总数
  • 4今日下载