C语言的变量类型: 1.整数类型的宽度 char——8BIT,1字节,0~0xFF short——16BIT,2字节,0~0xFFFF int——32BIT,4字节,0~0xFFFFFFFF long——32BIT,4字节,0~0xFFFFFFFF 如: char x=1; 存储的值是:0000 0 ...
分类:
编程语言 时间:
2020-07-28 22:45:20
阅读次数:
134
1、Linux命令 1、普通常用指令 1、cd 2、pwd 3、mkdir (mE k to) 4、touch 5、ls 6、cat 7、cp 8、mv 9、rm 10、clear ...
分类:
系统相关 时间:
2020-07-28 22:45:00
阅读次数:
81
对于向上取整 求 \(\sum_{i=1}^{n} \left \lceil \frac{n}{i} \right \rceil\) 设$\left \lceil \frac \right \rceil=m$ 对于相同的$m$ ,满足 \(i*(m-1)< n\le i*m\) \(\frac{n} ...
分类:
其他好文 时间:
2020-07-28 22:44:41
阅读次数:
94
1.VIP漂移的两种方式 1.keeplaived的方式 2.MHA自带的脚本进行VIP漂移 2.配置MHA读取VIP漂移脚本 #编辑配置文件 [root@db03 ~]# vim /service/mha/app1.cnf #在[server default]标签下添加 [server defau ...
分类:
其他好文 时间:
2020-07-28 22:44:25
阅读次数:
106
题目链接 Solution CF813F Bipartite Checking 题目大意:给定一个有$n$个点,没有边的无向图。每次操作添加一条边,如果该边已存在则删去这条边。每次操作之后回答无向图是否为二分图 扩展域 & 可撤销并查集、线段树分治 分析:首先如果只有加入操作,我们可以通过扩展域并查 ...
分类:
其他好文 时间:
2020-07-28 22:44:02
阅读次数:
90
创建store文件夹下index.js文件 var KEY='rabbitStudent' export default{ setUser(user){ //将后端返回的对象转换成字符串 const JsonStr=Json.stringify(user) // 将返回的字符串存储到KEY中 win ...
分类:
其他好文 时间:
2020-07-28 22:43:38
阅读次数:
72
一、LSTM函数介绍 keras.layers.LSTM(units, activation='tanh', recurrent_activation='hard_sigmoid', use_bias=True, kernel_initializer='glorot_uniform', recurr ...
分类:
其他好文 时间:
2020-07-28 22:43:23
阅读次数:
135
CentOS7默认的防火墙不是iptables,而是firewalle. 安装iptable iptable-service #先检查是否安装了iptables service iptables status #安装iptables yum install -y iptables #升级iptabl ...
分类:
其他好文 时间:
2020-07-28 22:43:09
阅读次数:
65
代码不想写就口胡了 1001.用 歌唱王国 的结论$E(A)=\sum_{i=1}^{len} a_{i}*m^i,\ a_{i}=is\_border(i)$回文串border就是回文自动机的fail直接上回文自动机比较字典序即可 1002. 1003.直接离线考虑每一位的贡献用个dfs序维护线段 ...
分类:
其他好文 时间:
2020-07-28 22:42:45
阅读次数:
90
练习题: ##列表 1、列表操作练习 列表lst 内容如下 lst = [2, 5, 6, 7, 8, 9, 2, 9, 9] 请写程序完成下列操作: 在列表的末尾增加元素15 在列表的中间位置插入元素20 将列表[2, 5, 6]合并到lst中 移除列表中索引为3的元素 翻转列表里的所有元素 对列 ...
分类:
其他好文 时间:
2020-07-28 22:42:32
阅读次数:
64
一 减少请求数量 a. 早期使用 gulp 合并 或者内嵌js,css, 现在用webpack。 b. 使用浏览器缓存,http1.0 (expired, last-modified, if-modifed-since), http1.1 cache-control ETag, if-none-ma ...
分类:
其他好文 时间:
2020-07-28 22:42:17
阅读次数:
99
操作系统:支持Linux/Windows 服务器,可以跨平台应用。 Web 服务器:可以运行于 Apache、IIS和 Nginx中。 PHP 环境:PHP5.3以上版本,需要安装 XML、PDO、GD库、MemCache 等扩展模块、 注意:对于PHP新手,推荐使用集成开发环境 AppServ或者 ...
分类:
Web程序 时间:
2020-07-28 22:41:54
阅读次数:
113
02.SELECT from Nobel Tutorial 注意:where语句中对表示条件的需要用单引号, 下面的译文使用的是有道翻译如有不正确,请直接投诉有道 01.Change the query shown so that it displays Nobel prizes for 1950. ...
分类:
其他好文 时间:
2020-07-28 22:41:34
阅读次数:
82
使用ios::sync_with_stdio(false)可以让cin读入的更快,它的原理是使本该同步的输入输出流分开,就是让c风格的输入输出流和c++的输入输出流分开。 举一个具体的例子,在正常c++中,当我们用cin输入整数,当我们在键盘上输入的时候,我们输入的东西进到了缓冲区,假设我们输入了 ...
分类:
移动开发 时间:
2020-07-28 22:41:21
阅读次数:
126
接口文档可参考以下内容 1.利用postman的方式提交图片 1.1在head中添加这个格式 1.2上传图片文件 postman默认是文本格式,因为是图片就选择File,在value中就会显示一个选择框,选择你要上传的图片,如下图,less1就是我选择图片,执行,生成了一个sigid,说明接口执行成 ...
分类:
Web程序 时间:
2020-07-28 22:41:04
阅读次数:
112
文章内容来源于Programming Hub的学习记录,本人整理添加了中文翻译,如有侵权,联系本人删除 Variables C语言中的变量 Let's extend our mainfunction from the first topic. What if we want to print the ...
分类:
编程语言 时间:
2020-07-28 22:40:48
阅读次数:
82
1. sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' 2. sudo apt-key adv -- ...