登录
首页 » 算法 » Two strings to find the longest common sub

Two strings to find the longest common sub

于 2023-05-01 发布 文件大小:990.00 B
0 124
下载积分: 2 下载次数: 1

代码说明:

找出两个字符串的最长公共子串。 给出一个字符串,请删除该字符串的前导空格和尾随空格,中间的空格若多余1个删减到1个。 我是个菜鸟,但软件会是我终生的事业~我有信心学好它,希望站长通融-Two strings to find the longest common sub-string. Given a string, remove the string leading spaces and trailing spaces, if the extra spaces in the middle of a cut to one. I was a rookie, but the software will be my lifelong career ~ and I am confident to learn it, and hope that owners accommodation

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

发表评论

0 个回复

  • 西电导论上机题
    算法导论第四次上机题,01背包回溯法
    2023-02-08 08:50:03下载
    积分:1
  • fortran非结构网格生成
    可读入点数据来生成二维非结构网格,点数据存贮于文件中,自己先准备好,用fps运行编译程序即可,输出的网格数据存储于grid及tec文件中,可通过plot软件实现生成网格的可视化
    2022-01-22 14:55:56下载
    积分:1
  • 传热学二维稳态C++程序
    单位长度为一。内外壁分别维持450度和50度。管道热导率1.05W/(m.k),求每米长管道热损失。
    2022-05-25 20:51:34下载
    积分:1
  • 三种常见自适应
     三种自适应算法LMS(最小均方算法),SER(序贯回归算法),RLS及其比较,基础算法,广范应用于应用于信号处理的各个领域
    2023-06-28 20:50:03下载
    积分:1
  • 定步长龙格之间的区域一体化
    全区间积分的定步长龙格-库塔法-regional integration between the fixed step Changlong Runge- Kutta method
    2023-04-12 11:45:03下载
    积分:1
  • / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = /功能annot
    //=== === === === === === === = //函数说明 //函数名称:PolyFit //函数功能:最小二乘法曲线拟合 //使用方法:double *x ---- 存放n个数据点的X坐标 // double *y ---- 存放n个数据点的Y坐标 // int n -------- 给定数据点个数 // double *a ---- 返回m-1次拟合多项式的m个系数 // int m -------- 拟合多项式的项数,即拟合多项式的最高次为m-1。要求m20,则本函数自动按m=min{n,20}处理 // double *dt --- dt[0]返回拟合多项式与各数据点误差的平方和;dt[1]返回拟合多 // 项式与各数据点的误差绝对值之和;dt[2]返回拟合多项式与各数据 // 点误差绝对值的最大值 //注意事项:拟合多项式的形式为 y = b0 + b1*(x-Xavr)... -//=== === === === === ==== === === === === === === ==== === =// function annotations// function name : PolyFit// Function functions : Least Squares Curve Fitting// Use : double* x n-store data point coordinates of the X//* y double-storage n data point Y coordinates// int n-------- given the number of data points//* a double---- returned to the m-1 m fit polynomial coefficients// int m-------- polynomial fitting items , which is the highest polynomial fitting time for m-1. Request m
    2023-07-25 11:15:03下载
    积分:1
  • 2022-04-26 09:25:16下载
    积分:1
  • 实现有限元软件ansys输出单元编号的按高程随机选取
    实现有限元软件ansys输出单元编号的按高程随机选取-Ansys finite element software to achieve the output unit numbers randomly selected by the elevation
    2023-02-26 06:00:04下载
    积分:1
  • Meshless method: RKPM, calculating plate bending
    无网格法:RKPM,计算平板弯曲-Meshless method: RKPM, calculating plate bending
    2023-01-07 00:10:04下载
    积分:1
  • 著名的3SAT问题 用蒙特卡罗实现的!
    著名的3SAT问题 用蒙特卡罗算法实现的!-famous 3SAT uses Monte Carlo algorithm!
    2022-12-21 14:20:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载