自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

iQXQZX

让技术更有价值的传播

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

原创 数据结构机测四

3378] - 数据结构实验之查找六:顺序查找#include <stdio.h>int main() { int i, n, m, k, t; while (~scanf("%d %d", &n, &m)) { t = -1; for (i = 0; i < n; i++) { s...

2019-12-25 21:58:06 152

原创 centos服务器编译配置 git

整个部署过程基于centos7.3服务器端配置 git1、下载git源代码(约5.1M,速度可能会很慢,看会儿直播再回来)# 选择一个目录来存放下载下来的 git 安装包。这里选择了/usr/local/src 目录$ cd /usr/local/src # 到官网找一个新版稳定的源码包下载到 /usr/local/src 文件夹里$ wget https://www.kernel....

2019-12-15 19:26:37 136

原创 第五周机测

快速排序模板// 注意cmp按sort的写 等号的时候一律交换 // 比如降序 return a<=b; sort中是 return a<bbool cmp1(node a, node b) { if (a.wi < b.wi) return true; else if (a.wi == b.wi) { if (...

2019-12-14 15:54:15 127

原创 离散上机

传递闭包/** * 传递闭包 */#include <c++/4.2.1/bits/stdc++.h>using namespace std;int n, m, a[111][111], flag[111];void warshell() { for (int j = 1; j <= n; j++) { for (int i = 1; ...

2019-12-14 15:53:57 147

原创 数据结构机测一

顺序表应用4-2:元素位置互换之逆置算法(数据改进)#include <cstdio>#include <iostream>#define max 1000005using namespace std;int *data;int m, len;// 元素翻转 如 1 2 3 4 5 ---》 5 4 3 2 1void reverse(i...

2019-12-14 15:53:51 117

原创 数据结构机测三

A基于邻接矩阵的广度优先搜索遍历和 B图的深度遍历int gra[101][101];int vis[101], ans[101];int k, m, t, cnt;void bfs(int begin) { vis[begin] = 1; queue<int> q; q.push(begin); while (!q.empty()) ...

2019-12-14 15:53:30 188

空空如也

空空如也

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

TA关注的人

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