随笔分类 - C
摘要:进一步接触C语言<graphics.h> 1 #include<stdio.h> 2 #include<graphics.h> 3 #include<conio.h> 4 int main() { 5 int x = 0, y = 0; 6 initgraph(800, 800); 7 IMAGE
阅读全文
摘要:算法——简化的桶排序 把所有所有数字当做是桶内的球,将所有球装入贴有球上数字相同的桶中。然后根据桶上从小到大的顺序,或者从大到小的顺序取出里面的球。 1.如图分析 只要将上面数组从左到右,或者从右到左便利一遍就能够排列大小 2.下面是我对简化的桶排序的理解 #include<stdio.h> int
阅读全文

浙公网安备 33010602011771号