![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
上机作业
Galois_dl
一个简单的学生,每一步迈的很小,但不会停止。
展开
-
Floyd算法Cpp实现
#include #define max 10 using namespace std; int ret[4][4]={0}; void set(int x,int y,int z){ ret[x][y]=z; } void reset(){ for(int i=0;i<4;i++) for(int k=0;k<4;k++) ret[i][k]=max; } void Folyd(){原创 2014-10-13 20:30:22 · 411 阅读 · 0 评论 -
Warshall算法C++实现
#include "iostream" #ifndef MAXSIZE #define MAXSIZE 1000 #endif using namespace std; int matrix[MAXSIZE][MAXSIZE]; int size; void getT(){ cout<<"Input the element amounts:"; cin>>size; cout<<"Input原创 2014-10-13 20:26:19 · 1163 阅读 · 0 评论