-
在一个圆圈周围的操场上的操场放置氮堆。石头是有…
在一个圆形操场的四周摆放着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
-
误差分析的方法有多种,例如,威点逊(J. H. Wilkison)针对的计算机的浮点运算提出的“向后误差分析”,这是一种先验估计误差的方法,较以往的“向前误差分...
误差分析的方法有多种,例如,威点逊(J. H. Wilkison)针对的计算机的浮点运算提出的“向后误差分析”,这是一种先验估计误差的方法,较以往的“向前误差分析”在矩阵运算的舍入误差估计上有较好的结果,以而使矩阵的误差分析获得了突破性的进展,使不少用向前误差分析难于判定可靠性的数值方法获得新的进展。-error analysis by a number of means, for example, Granville point Morrison (J. H. Wilkison), referring to a computer"s floating-point operations "backward error analysis," This is a priori estimation error method, compared to the previous "Forward Error Analysis" in the matrix computation Rounding error a better estimate on the results of a matrix so the error analysis of a breakthrough in the progress, many with forward error analysis difficult to determine the reliability of numerical methods to achieve new progress.
- 2022-06-15 17:59:56下载
- 积分:1
-
电路节点导纳矩阵的计算机生成法源程序。可计算少于20个节点的电路方程。...
电路节点导纳矩阵的计算机生成法源程序。可计算少于20个节点的电路方程。-circuit node admittance matrix of computer generation source. Computable less than 20 nodes of the circuit equation.
- 2022-03-18 02:34:23下载
- 积分:1
-
模拟退火算法实现TSP问题
旅行商问题,即TSP问题,是数学领域中著名问题之一。假设有一个旅行商人要拜访n个城市,他必须选择所要走的路径,路经的限制是每个城市只能拜访一次,路径的选择目标是要求得的路径路程为所有路径之中的最小值。模拟退火算法是解决TSP问题的有效方法之一, 其最初的思想由Metropolis在1953年提出,Kirkpatrick在1983年成功地将其应用在组合最优化问题中。
- 2022-08-12 09:29:48下载
- 积分:1
-
两个链表情况下的排序
两个链表情况下的排序-Sort under two list circumstance
- 2022-02-10 01:10:23下载
- 积分:1
-
The use of C++ Realize the Graham scan method (for solving convex hull problems)...
使用C++实现的Graham扫描法(求解凸包问题),可设置生成随机点的个数、样式,同时支持设置显示范围、显示算法处理时间及使用文件导入导出点等功能。(文件格式为,头四个字节是点的个数,以后分别是各个点的x坐标和y坐标,每个数值均占4字节)。-The use of C++ Realize the Graham scan method (for solving convex hull problems), can be set to generate a random number of points, patterns, and at the same time to support the set display range, display algorithm processing time and the use of document features such as import and export points. (File format for the first four bytes is the number of points, after all points are x coordinates and y coordinates, each account for 4-byte value).
- 2022-02-04 23:48:30下载
- 积分:1
-
acm.zju.edu.cn第1074,1005,1010题
acm.zju.edu.cn第1074,1005,1010题-acm.zju.edu.cn that section 1074,1005,
- 2022-11-03 15:05:03下载
- 积分:1
-
BP神经网络
该算法是描述了基本的BP网络,期间加入了正向传播和反向误差调整的算法,并且采用加入学习动量的方法使得网络快速收敛,使得网络有比较好的应用性,可以直接使用测试数据,得到想要的输出,理想输出。
- 2022-06-17 22:44:51下载
- 积分:1
-
北大ACM题目例程
详细的解答过程 程序实现 算法分析
北大ACM题目例程
详细的解答过程 程序实现 算法分析-ACM North Title routine procedures detailed answers to the process of realization of Algorithm Analysis
- 2022-11-13 17:25:04下载
- 积分:1
-
1个LZW算法
一个LZW算法的实现,自带界面,可以压缩图片,文本文件等,还可以查看压缩率,压缩时间等
- 2022-07-18 05:21:01下载
- 积分:1