12 2021 档案

摘要:#include<iostream>using namespace std;void insert_sort(int a[], int n) { int i, j; int temp; for (i = 1; i<n; i++) { //循环从第2个元素开始 if (a[i - 1]>a[i]) { 阅读全文
posted @ 2021-12-15 22:16 师大无雨 阅读(113) 评论(0) 推荐(1) 编辑
摘要:#include <stdio.h>#include <stdlib.h>#include <Windows.h> int binsearch(int a[], int key, int low, int high) { int mid = (low + high) /2; if (low > hi 阅读全文
posted @ 2021-12-13 21:12 师大无雨 阅读(325) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/jjx2013/p/6223602.html https://www.cnblogs.com/saoge/p/15407779.html 阅读全文
posted @ 2021-12-07 01:26 师大无雨 阅读(273) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include "stdio.h"#include "stdlib.h"#include "cstdlib"//syste()函数需要该头文件; using namespace std; #define OK 1#define ERROR 0#define O 阅读全文
posted @ 2021-12-05 22:20 师大无雨 阅读(698) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示