- 博客(5)
- 资源 (14)
- 收藏
- 关注
原创 完美数的判断
#include#include#includeusing namespace std;class Integer{private: long num; vectordivisor; //num的真约数放在向量divisor中public: Integer(long n=0):num(n) { } int Sum(long n); //求整数各个
2012-06-26 21:24:25 1054
原创 差限问题求解利用Bell-ford算法构造差限图通过最短路径求解
#include#include#include#include#includeusing namespace std;const int MaxNumber=1e10;struct EdgeType //边的类型{ int fromvertex; //边的起点 int tovertex; //边的终点 double weight; //边上的权值};templa
2012-06-17 21:54:51 834
原创 最短路径多源点Flod-Warshall算法
#include#include#include#include#includeusing namespace std;const int MaxNumber=1e10;struct EdgeType //边的类型{ int fromvertex; //边的起点 int tovertex; //边的终点 double weight; //边上的权值};templa
2012-06-17 15:30:16 1483
原创 Bellman-ford算法应对有向图中有权值为负的情况下求最短路径
#include#include#include#include#includeusing namespace std;const int MaxNumber=1e10;struct EdgeType //边的类型{ int fromvertex; //边的起点 int tovertex; //边的终点 double weight; //边上的权值};templa
2012-06-10 21:21:17 1942
原创 Dijkstra最短路径求解(不考虑权值为负的情况)
#include#include#include#include#includeusing namespace std;const int MaxNumber=1e10;struct EdgeType //边的类型{ int fromvertex; //边的起点 int tovertex; //边的终点 double weight; //边上的权值
2012-06-02 15:35:57 1278
多边形游戏
2012-01-22
字符串匹配程序
2012-01-21
计算机集群
2012-01-19
大规模并行处理机系统 MPP
2012-01-18
对称多处理机
2012-01-18
Interconnection Network
2012-01-18
Communication in Multiprocessor Systems
2012-01-18
高级计算机测试
2012-01-18
高级体系结构课程纲要
2012-01-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人