-
雨天比赛
跳房子游戏-Rainy Game
- 2022-03-01 23:18:58下载
- 积分:1
-
Simulation Algorithm. By compiling and debugging a system dynamic allocation of...
模拟实现银行家算法。通过编写和调试一个系统动态分配资源的简单模拟程序,观察死锁产生的条件,并采用银行家算法,有效的避免死锁。-Simulation Algorithm. By compiling and debugging a system dynamic allocation of resources simple process simulation, the observation Deadlock conditions, and using bankers algorithm, effective avoid deadlock.
- 2022-04-22 19:46:44下载
- 积分:1
-
Simpleson算法函数,利用子函数设计实现,子函数非常简单,可供参考使用...
Simpleson算法函数,利用子函数设计实现,子函数非常简单,可供参考使用-Simpleson algorithm functions, the use of subroutine design implementation, subroutine is very simple, available for reference use
- 2023-03-31 08:30:04下载
- 积分:1
-
汉诺塔 C实现
汉诺塔(又称河内塔)问题是源于印度一个古老传说的益智玩具。大梵天创造世界的时候做了三根金刚石柱子,在一根柱子上从下往上按照大小顺序摞着64片黄金圆盘。大梵天命令婆罗门把圆盘从下面开始按大小顺序重新摆放在另一根柱子上。并且规定,在小圆盘上不能放大圆盘,在三根柱子之间一次只能移动一个圆盘。
- 2022-02-12 16:33:30下载
- 积分:1
-
linux下的cure聚类算法
是linux下的cure算法,比较完整
#if !defined(lint) && !defined(SABER)
static char rcsid[] = "$Header: /usr/src/local/conn/cluster/RCS/cluster.c,v 1.23 1993/02/03 07:43:07 stolcke Exp $";
#endif /* not lint */
#include
#include
#include
#include "alloc.h"
#include "error.h"
#include "cluster.h"
#define NONE (-2)
#define BUFSIZE 256
#ifndef SCALE
#define SCALE "_SCALE_"
#endif
#ifndef DONTCARE
#define DONTCARE "D/C"
#endif
#ifndef MAXFLOAT
#define MAXFLOAT ((float)3.40282346638528860e+38)
#endif
static FLOAT distance();
static FLOAT root();
static FLOAT cure_distance();
static void merge();
- 2023-07-29 18:30:03下载
- 积分:1
-
(用Euler法和改进的Euler法求解,用三阶Adams外插法及内插法求解...
(用Euler法和改进的Euler法求解,用三阶Adams外插法及内插法求解
-(Using Euler method and the improved Euler Method, using third-order Adams extrapolation method and interpolation method for solving
- 2022-12-16 17:40:03下载
- 积分:1
-
简要的Gauss列主元消去法,很实用,用matlab实现,还有一个图例,程序说明很详细...
简要的Gauss列主元消去法,很实用,用matlab实现,还有一个图例,程序说明很详细-brief Gauss main-element elimination, very practical, using Matlab to achieve, there is a legend, a very detailed description of the procedures
- 2023-03-17 03:50:03下载
- 积分:1
-
一个可分解上万阶稀疏矩阵的SVD算法
一个可分解上万阶稀疏矩阵的SVD算法-a million bands on the sparse matrix of SVD algorithm
- 2022-12-19 12:20:03下载
- 积分:1
-
一个计算拉个朗日插值很好的程序,绝对正确无误。
一个计算拉个朗日插值很好的程序,绝对正确无误。-A calculation of long pull on a good interpolation procedure, is absolutely correct.
- 2022-04-30 12:50:43下载
- 积分:1
-
冒泡法 起泡法 用使数组排列
C语言冒泡法(起泡法)排序
思路:将相邻的两个数进行比较,将小的调到前头。
如果有n个数,那么要进行n-1次的比较。在第一次比较中要进行n-1次的两两比较,在第j次比较中要进行n-j次的两两比较。
过程:先通过动态赋值的方法,把用户输入的10个数字保存到数组中。
用两个for循环语句,外层循环是限制次数,内层循环限制某次要进行两两比较的次数。
如果a[n]>a[n+1],那么将两个数进行交换。
- 2023-04-24 18:25:03下载
- 积分:1