-
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
实现了必选的排序 #171
base: master
Are you sure you want to change the base?
实现了必选的排序 #171
Conversation
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.
需要修改简单选择排序算法和希尔排序的逻辑。
a->r[key] = temp; | ||
(*mtime) += 3; | ||
} | ||
} |
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/li-yc/排序/main.c
Outdated
dk = 6; | ||
ShellInsert(&test, dk, &comparetimes, &movetimes); | ||
InsertSort(&test, &comparetimes, &movetimes); | ||
printf("����ϣ������������:\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.
希尔排序结果有问题
2017-1/li-yc/哈希表/Hashtable.c
Outdated
} | ||
if (d != 0) { | ||
printf("\n----[����%dԪ��ʱ�����˳�ͻ%d��]----\n", keyvalue, d); | ||
} |
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.
建议将没有冲突的插入过程也输出方便查看。
No description provided.