自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 冒泡排序

void sort(int* a, int n){ int i = 0; int j = 0; for (i = 0; i < n-1; i++) { for (j = i ; j < n -1; j++) { if (a[j] > a[j+1]) { int tmp = a[j]; a[j] = a[j+1]; a[j + ...

2019-08-29 23:18:31 76

原创 选择排序

void sort(int* a, int n){ int i = 0; int j = 0; for (i = 0; i < n-1; i++) { for (j = i + 1; j < n; j++) { if (a[i] > a[j]) { int tmp = a[i]; a[i] = a[j]; a[j] = tmp...

2019-08-29 23:02:58 94

原创 快速排序

二分排序#include <stdio.h>void sort(int * a,int n){ if (n <= 1) { return; } int i = 0; int j = n-1; int k = a[j]; int b = 0; for (; i < j;) { if (a[b] > k) { int tmp =...

2019-08-29 00:03:53 81

原创 分治排序

#include <stdio.h>void sort(int * a,int n){ if (n == 1) { return; } int flag = 0; if (n % 2 != 0) flag = 1; sort(a + n / 2, n / 2 + flag); sort(a, n / 2); int i = 0, j = 0; int b...

2019-08-28 22:48:11 84

原创 makefile __alloca 问题

makefile __alloca 问题降低版本参考https://blog.csdn.net/zhongwcool/article/details/52300582遇到问题make会产生解决方法降低版本参考https://blog.csdn.net/zhongwcool/article/details/52300582遇到问题make会产生/home/jzy/下载/make-3.82/gl...

2019-03-29 18:48:40 1941 3

原创 socket tcp

socket 系统编成

2019-03-29 13:54:06 73

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除