注意: 用scanf 和printf 进行输入输出 否则超时 cin,cout速度慢的原因就是它会将数据先读入缓冲区,然后再读入,所以与scanf的直接读入会有点时间差距。 1.换成scanf 和 printf输入输出 2.加一条语句 ios::sync_with_stdio(false); 题目代 ...
分类:
其他好文 时间:
2020-02-04 00:39:40
阅读次数:
87
Docker 安装 CentOS CentOS(Community Enterprise Operating System)是 Linux 发行版之一,它是来自于 Red Hat Enterprise Linux(RHEL) 依照开放源代码规定发布的源代码所编译而成。由于出自同样的源代码,因此有些要 ...
分类:
其他好文 时间:
2020-02-03 19:27:17
阅读次数:
85
一、技术总结 1. 这个也是一个链表类题目,主要是在结构提上的设计,可以设计一个flag参数用于记录真实有效的结点。 2. 然后就是根据题目要求进行排序,输出结果。 3. cmp()函数可以,一层是把有效节点排到数组的左边,然后可以进行二次比较,按题目要求来。 二、参考代码 ...
分类:
其他好文 时间:
2020-02-03 19:13:12
阅读次数:
64
Git Guidegit的三种方式只在本地使用;将本地仓库上传到Github;下载GitHub上的仓库;1、只在本地使用在Git Bush上输入命令 mkdir git-demo-1 ——创建一个目录(git-demo-1,可自定义)cd git-demo-1 ——进入目录git init —— 在 ...
分类:
其他好文 时间:
2020-02-03 16:14:10
阅读次数:
67
Red Hat Enterprise Linux/CentOS 7.0 发行版已将默认的数据库从 MySQL 切换到 MariaDB 添加安装源或是从官网下载安装包https://downloads.mariadb.org/ #官网下载比较快,安装方式看内部README操作 yum install ...
分类:
数据库 时间:
2020-02-03 13:58:38
阅读次数:
76
动态规划的01背包问题和完全背包问题模板 01背包问题模板: // 01背包问题 #include <stdio.h> #include <algorithm> using namespace std; const int maxn = 100; // 物品的最大件数 const int maxv ...
分类:
其他好文 时间:
2020-02-02 16:08:10
阅读次数:
109
新建一个文本文档,添加以下内容: 记得将以上脚本中路径该为你电脑微信所在的文件夹路径。 将文本文档的后缀.txt该为.bat文件,双击执行即可。 注意: 执行以上脚本时,要确保电脑没有打开微信,否则无效。 ...
分类:
微信 时间:
2020-02-01 14:51:19
阅读次数:
273
1、查看centos 的发行版本号 [zhou@localhost ~]$ cat /etc/redhat-releaseCentOS Linux release 8.1.1911 (Core)[zhou@localhost ~]$ 2、查看linux内核版本号[zhou@localhost ~]$ ...
分类:
其他好文 时间:
2020-02-01 10:45:30
阅读次数:
147
二、相关工作 The traditional video surveillance systems [6] are mainly designed for the offline analysis of the recorded video streams as well as significan ...
分类:
其他好文 时间:
2020-01-31 13:56:03
阅读次数:
83
Axios是一个基于promise的HTTP库,可以用在浏览器和node.js中。 安装方式: 1.使用cdn <script src="https://unpkg.com/axios/dist/axios.min.js"></script> 2.使用npm安装 npm/cnpm install a ...
分类:
移动开发 时间:
2020-01-31 12:12:09
阅读次数:
99