-
ACM区域赛2011年大连G题
题意:
给出一些子串,和母串的长度,问在母串里面包含任意子串的最大值是多少,
其中每个子串最多只能被计算一次。如果最大值为负数,则输出特定的字符串。
sample:
input:
2 4
ATG 4
TGC -3
1 6
TGC 4
4 1
A -1
T -2
G -3
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-03-26 07:39:27下载
- 积分:1
-
在数据库中发现频繁模式和关联规则是数据挖掘领域的最基本、最重要的问题。大多数早期的研究采用了类似Apriori算法的产生候选级并测试迭代的途径代价是昂贵的,尤其...
在数据库中发现频繁模式和关联规则是数据挖掘领域的最基本、最重要的问题。大多数早期的研究采用了类似Apriori算法的产生候选级并测试迭代的途径代价是昂贵的,尤其是挖掘富模式和长模式时,Jiawei Han提出了一种新颖的数据结构FP_tree,及基于其上的FP_growth算法,主要用于有效的进行长模式与富模式的挖掘.本文在讨论了FP_growth算法的基础上,提出了用Visual C++实现该算法的方法,并编写了算法的程序。-found in the database model and the frequent association rules is the area of data mining the most fundamental and important issues. Most of the early studies used a similar Apriori algorithm for the selection of candidates and test-iterative way was costly, particularly mining the rich patterns and long model, Jiawei Han proposed a novel data structure FP_tree and on the basis of their FP_growth algorithm used effectively the model for long and rich patterns of excavation. This paper discussed the FP_growth algorithm on the basis of the Visual C of the algorithm, and the preparation procedure of the algorithm.
- 2023-01-10 12:20:03下载
- 积分:1
-
Anderson CFD 第七章Fortran程序
针对Anderson教材第七章相关章节(7.3&7.4)书写的Fortran程序,和书本上的结果进行了对比,程序运行正确。使用最新的Fortran语法书写,方便阅读;
- 2022-10-25 17:25:03下载
- 积分:1
-
LZW算法和测试Demo
LZW压缩算法和RLE压缩算法的实现源码及Demo。本Demo未经过严格测试,请先保存待压缩文件再进行压缩测试。其中实现了LZW和RLE算法的编码和解码的压缩比、时间等性能指数的计算。
- 2023-06-15 20:10:04下载
- 积分:1
-
二分法搜索的程序实现
二分法搜索的程序实现-dichotomy Search Program
- 2023-09-09 00:35:02下载
- 积分:1
-
用拉格朗日插值公式,对给定的n用离散数据进行插值计算。
用拉格朗日插值公式,对给定的n用离散数据进行插值计算。-Lagrange interpolation formula, the right to use discrete n data interpolation.
- 2022-12-08 16:40:03下载
- 积分:1
-
vb,算交通规划的比较经典的算法,
能解决许多问题。
vb,算交通规划的比较经典的算法,
能解决许多问题。-vb, calculating traffic planning of the classical algorithm can solve many problems.
- 2022-05-09 11:23:04下载
- 积分:1
-
全区间积分的阿当姆斯方法
全区间积分的阿当姆斯方法-region between Integral Methods A ADAMS
- 2022-01-26 03:07:44下载
- 积分:1
-
本论文介绍了一种新的校正铂电阻传感器非线性的数学方法.
本论文介绍了一种新的校正铂电阻传感器非线性的数学方法.-This paper introduce a new calibration of platinum resistance sensor non-linear mathematical method.
- 2022-12-18 19:45:03下载
- 积分:1
-
pl_chdir.lsp
此程序功能: Visual lisp 文件显示和折线方向扭转过来。描述和方法的使用: 装载您的看法文件之后, 使用 PLDIR 命令显示折线的方向。使用命令 POV 很可能要反转折线的方向。
- 2023-02-15 13:00:03下载
- 积分:1