摘要: //冒泡排序,输入一个数组,冒泡排序 #include <stdio.h> #include<time.h> #include<stdlib.h> # define MAXSIZE 10 //要排序数组的长度 #define random(x) (rand()%x) //宏定义随机数函数 //三个参 阅读全文
posted @ 2020-06-04 23:53 abel2020 阅读(125) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> char A, B, C; han(int, char, char, char); main() { han(4, 'A', 'B', 'C'); } han(n, A, B, C) { if (1 == n) printf("%d %c-%c\n", n, A 阅读全文
posted @ 2020-06-04 11:00 abel2020 阅读(96) 评论(0) 推荐(0) 编辑