-
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
第七次作业提交 #148
base: master
Are you sure you want to change the base?
第七次作业提交 #148
Conversation
2017-1/HuanWoWeiLan/第七次作业/第七次作业.c
Outdated
G -> arcs[i][j].adj = INFINITY; //��ʼ���ڽӾ�����ÿһ��ֵ��Ϊ���� | ||
} | ||
} | ||
Add(G, 0, 1); Add(G, 0, 2); Add(G, 0, 3); Add(G, 0, 6); |
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.
- 时刻不忘自动排(mei)版(yan)!
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.
- 时刻不忘自动排(mei)版(yan)!
2017-1/HuanWoWeiLan/第七次作业/第七次作业.c
Outdated
{ | ||
int i ,j; | ||
G -> vexnum = 9;//������ | ||
G -> arcnum = 12;//���� |
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,241 @@ | |||
#include <stdio.h> |
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/HuanWoWeiLan/第九次作业/第九次作业.cpp
Outdated
while(tag != 0) | ||
{ | ||
printf("��������Ҫ���ҵ�Ԫ��:"); | ||
scanf("%d", &n); |
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.
- 建议自动输入二叉树的数据,测试输入数据序列:{ 8, 10, 14, 3, 1, 6, 4, 7, 5, 19, 22, 30 }, 待查找关键字依次为: { 13, 8, 5, 20, 6 }
- 你的源程序名又变成中文了,要时刻注意细节哦!
2017-1/HuanWoWeiLan/第九次作业/第九次作业.cpp
Outdated
} | ||
else | ||
{ | ||
printf("���ҳɹ������ҵ�����Ϊ%d\n", SearchBST(T,n)->key); |
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.
- 请看作业要求: 在本次PR中,应包含采用纯文本文件的方式保存的查找表使用上述测试用例产生的程序输出结果。
No description provided.