-
C语言程序源代码(集合)
C语言从入门到熟练掌握,里面集结了学习C语言的大部分练习程序,从简单到复杂
- 2022-02-03 07:08:28下载
- 积分:1
-
heap + dijkstra
Dijkstra是一种贪心的思想,它只适用与非负权图(SPFA可以用于负权图):
首先要知道一个三角定理,《算法导论》上面讲过,我这里就不论述了
定义:
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-01-25 23:38:50下载
- 积分:1
-
The essence of Newton method is used constantly to approximate tangent curve, th...
Newton法的本质就是不断用切线来近似曲线,因此,Newton法也称为切线方法。本程序用Newton法求解n元正定函数的最小值,例子在程序中。-The essence of Newton method is used constantly to approximate tangent curve, therefore, Newton method, also known as tangent method. This procedure using Newton method to solve n-positive definite function of the minimum value, for example, in the proceedings.
- 2022-05-08 02:16:18下载
- 积分:1
-
计算两个向量间的欧氏距离,初始化聚类中心,参数设定默认值...
计算两个向量间的欧氏距离,初始化聚类中心,参数设定默认值
-two vector calculation of Euclidean distance, initialize the cluster center, parameter set default values
- 2023-01-02 17:40:08下载
- 积分:1
-
一个曲线拟合的C程序算法
一个曲线拟合的C程序算法-A C language program algorithm of curve fitting
- 2022-07-06 10:38:18下载
- 积分:1
-
Hangzhou University of Electronic Science and Technology ACM
杭州电子科技大学在线系统ACM的1050题,用贪心方法解决-Hangzhou University of Electronic Science and Technology ACM-line system of the 1050 title with a greedy solution
- 2022-01-26 02:26:00下载
- 积分:1
-
STM32 AD采集程序
资源描述本程序代码是基于STM32中的ADC采集,模拟信号转化为数字信号是控制类芯片一个重要的功能,该程序代码是基于STM32来做的ADC采集,其中,STM32可以开启多路AD采集的信息,采集的结果可以选择打印到串口或者到液晶屏。
- 2023-03-13 18:35:03下载
- 积分:1
-
looking for the smallest number. Cpp C Algorithm
找最小数.cpp C++算法-looking for the smallest number. Cpp C Algorithm
- 2022-08-07 08:04:26下载
- 积分:1
-
the procedures used Matlab language trend of the computer program.
该程序用matlab语言编写的计算机潮流计算程序。-the procedures used Matlab language trend of the computer program.
- 2023-07-31 20:50:02下载
- 积分:1
-
一个求解Josephus问题的函数
#include
#include
#define NULL 0
#include
typedef struct Lnode
{
int data;
struct Lnode *next;
}Josephus;
void CreateList(Josephus*&L,int n)//建立循环链表
{
int i;
Josephus *p,*s;
s=(Josephus*)malloc(sizeof(Josephus));
s->data=1;
L=p=s;
for(i=2;idata=i;
p->next=s;
p=s;
}
p->next=L;
}
void DeleteList(Josephus*&L,Josephus*p,Josephus*q)
{
q->next=p->next;
free(p);
}
void Josephus1(Josephus*&L,int s,int m)
- 2022-01-27 23:12:59下载
- 积分:1