-
数字三角
资源描述问题描述:给定一个由n行数字组成的数字三角形,如下图所示。试用动态规划算法,计算出从三角
顶部至底部的一条路径,使得该路径经过的数字总和最大。
注意每个数字只能走向下一行左边或右边的数字,而不能跳跃的走。
7
3 8
8 1 0
2 7 4 4
4 5 2 6 5
- 2023-01-28 04:05:04下载
- 积分:1
-
创建SQLite3静态库的文件
创建SQLite3静态库的文件,对您创建SQLite静态库很有帮助,没有这个文件你就无法创建SQLite静态库,无法用gcc命令编译生成*.cgi文件
- 2022-01-30 10:13:08下载
- 积分:1
-
一个简单好用的B+树算法实现
一个简单好用的B+树算法实现- A simple easy to use B tree algorithm realizes
- 2022-04-30 07:22:42下载
- 积分:1
-
mathimatics library for pascal, include fft,function interpreter, derivative,sol...
mathimatics library for pascal, include fft,function interpreter, derivative,solve sytem of lineal ecuacion by gauss .. and 2 examples-mathimatics library for pascal, include fft,function interpreter, derivative,solve sytem of lineal ecuacion by gauss .. and 2 examples
- 2022-12-19 16:35:06下载
- 积分:1
-
SMALL C 语言数学库
SMALL C 语言数学库 -SMALL C language math
- 2022-02-18 14:56:05下载
- 积分:1
-
RS编码和译码的Verilog代码
里的所罗门RS编解码方案,建立工程后可直接编译调试,对于学习RS编码原理的人员可以作为一个例子学习,也可以应用于相应的系统中
- 2022-01-27 19:57:01下载
- 积分:1
-
word2vec神器
谷歌已经使用Deep Learning技术开发了许多新方法来解析语言,目前,谷歌开源了一款基于Deep Learning的学习工具——word2vec,这是首款面向大众的Deep Learning学习工具。
- 2022-02-18 15:06:31下载
- 积分:1
-
基础的PSO算法,注释详细,很利于学习参考。
一个基础的PSO算法,注释详细,很利于学习参考。
粒子群优化算法(PSO——Particle Swarm Optimization)是一种基于种群的随机优化技术,由Eberhart和Kennedy于1995年提出。粒子群算法模仿昆虫、兽群、鸟群和鱼群等的群集行为,这些群体按照一种合作的方式寻找食物,群体中的每个成员通过学习它自身的经验和其他成员的经验来不断改变其搜索模式。
- 2022-09-09 00:20:02下载
- 积分:1
-
在一个圆圈周围的操场上的操场放置氮堆。石头是有…
在一个圆形操场的四周摆放着n堆石子。现要将石子有次序地合并成一堆。规定每次只能选相邻的2堆石子合并成新的一堆,并将新的一堆石子数记为该次合并的得分。试设计一个算法,计算出将n堆石子合并成一堆的最小得分和最大得分。
编程任务:对于给定n堆石子,编程计算合并成一堆的最小得分和最大得分。-Playground in a circle around the stones are placed n heap. Stone is to have the order to merge into a pile. Provisions can only choose 2 adjacent stones piled into a heap of new and new pile of stones a few in mind for its combined score. Try to design an algorithm to calculate the n heap into a pile of stones the minimum scores and maximum scores. Programming tasks: for a given n stack stone, into a pile of programming the calculation of the minimum scores and maximum scores.
- 2022-03-18 23:23:02下载
- 积分:1
-
一个对称三对角矩阵特征值计算
computes the eigenvalues of a symmetric tridiagonal
* matrix T. The user may ask for all eigenvalues, all eigenvalues
in the half-open interval (VL, VU], or the IL-th through IU-th eigenvalues.-computes the eigenvalues of a symmetric tr idiagonal* matrix T. The user may ask for all eig envalues. all eigenvalues in the half-open interval (VL. VU], or the IL-th through IU-th eigenvalues.
- 2022-03-19 01:45:05下载
- 积分:1