From d32363d09795f19d223be5c5c6fd07ce585011e4 Mon Sep 17 00:00:00 2001 From: Tingyu Meng <29924168887@qq.com> Date: Sun, 23 Apr 2023 22:04:30 +0800 Subject: [PATCH] mty4 --- mty4.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 mty4.md diff --git a/mty4.md b/mty4.md new file mode 100644 index 0000000..2c8882c --- /dev/null +++ b/mty4.md @@ -0,0 +1,24 @@ +// 函数功能:按选择法将数组sum的元素值排序 +void SortbyScore(STU stu[],int n,int m,int (*compare)(float a,float b)) +{ + int i, j, k, t; + for (i=0; i