算法
zeronetwo
爱好户外运动,看电影,上网,听音乐,乡村音乐,轻摇滚等。生活态度:因为对生活悲观的彻底,所以对生活彻底的乐观!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
floyd最短路径算法的实现
#include stdio.h>#include string.h>#include stdlib.h>#include conio.h>#define MAX_NAME 20#define MAX_INFO 200typedef int VRType;typedef char VertexType[MAX_NAME];#define INFINITY 65535#define MAX_VE原创 2007-07-05 16:26:00 · 2356 阅读 · 4 评论 -
32位异或取反源码
/* strTemp:入参,字符串 return:16进制字符串 */CString CChecksumDlg::CalcCheckSum(CString strTemp){ if(strTemp.GetLength()%4 != 0) { MessageBox("字符串长度不正确,请确认字符串长度为4的整倍数"); return "";原创 2008-10-20 11:54:00 · 997 阅读 · 0 评论
分享