按选择法将数组num的元素值按从低到高排序 #1
Merged
pn8rjlxip
merged 1 commits from pe4c6pn3v/System:master
into master
2 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'pe4c6pn3v/System:master'
Deleting a branch is permanent. It CANNOT be undone. Continue?
36.void AsSortbyNum(STU stu[], int n, int m)
37.{
38. int i, j, k, t;
39. for (i=0; i<n-1; i++)
40. {
41. k = i;
42. for (j=i+1; j<n; j++)
43. {
44. if (stu[j].num < stu[k].num) k = j;
45. }
0a07643564
into master 2 years ago0a07643564
.