代码搜索结果
找到约 10,000 项符合
7 的代码
7_7kruskal.plg
Build Log
--------------------Configuration: 7_7Kruskal - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\思齐
ex7-7.htm
递归函数演示
l7_7.cpp
//用普里姆算法求无向网的最小生成树
#include
const int n=6; //定义网中顶点数
const int e=10; //定义网中边数
struct edgeset //定义一条生成树的边
{ int fromvex; //边的起点
int endvex;
al7_7.c
/*案例代码文件名:AL7_7.C*/
/*功能:数组名作为函数参数,求平均成绩*/
float aver(float a[ ]) /*定义求平均值函数,形参为一浮点型数组名*/
{int i;
float av,s=a[0];
for(i=1;i
ex7_7.m
a=[1,2,-2;1,1,1;2,2,1];
b=[9;7;6];
[x,n]=jacobi(a,b,[0;0;0])
[x,n]=gauseidel(a,b,[0;0;0])
xt7-7.cpp
#include
using namespace std;
#define NULL 0
struct student
{long num;
float score;
student *next;
};
int n;
void print(student *head)
{student *p;