摘要: #include <stdlib.h> int cmp(const void *a, const void *b) { return *(int *)b - *(int *)a; // 若是从小到大排序: return *(int *)a - *(int *)b; // 若是从大到小排序: retu 阅读全文
posted @ 2024-10-29 21:56 yesno233233 阅读(45) 评论(0) 推荐(0)