-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
提交图的最短路径 #162
base: master
Are you sure you want to change the base?
提交图的最短路径 #162
Conversation
2017-1/Micylt/hw7/Graph.c
Outdated
|
||
Status InitTestGraph(Graph* G) //��ʼ��ͼ | ||
{ | ||
G->matrix[0][1] = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 一个循环就能搞定,这样写多不好看啊
2017-1/Micylt/hw7/Graph.h
Outdated
|
||
//����ͼ�Ľṹ�Լ���صIJ����� | ||
|
||
#define MAX 20 //������ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 这些全局定义统一放到最上面会更美观
@@ -0,0 +1,11 @@ | |||
8, 3, 1, 6, 4, 5, 7, 10, 14, 19, 22, 30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 程序中没有看到C语言文件流相关操作,这个结果输出是手工复制的吗? 建议使用C语言文件操作,自动把查找结果输出到文件中
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
= =,不好意思理解错了,结果确实是自己复制的.... 修改后会重新提交
按师哥要求修改后再次提交 |
按要求修改后再次提交 |
提交求图的任意两点间最短路径的算法。