#include <iostream>#include<string>#include <vector>#include <map>using namespace std; int main(){ vector<int> bgX{5, 10}; //方法1 bgX.erase(bgX.begin() ...
分类:
编程语言 时间:
2021-06-06 19:46:16
阅读次数:
0
Begin -- 事务开启 insert ... update ... Save point pointA; -- 保存点A,名字随便取 insert ... update ... Save point pointB; -- 保存点B,名字随便取 Rollback to pointA; -- 回滚至 ...
分类:
数据库 时间:
2021-06-06 19:24:38
阅读次数:
0
Preliminaries Linux Basics Change Password: passwd shutdown: sudo shutdown -h 3 (broadcast to all users in 3 mins) reboot: sudo reboot -r now create a ...
分类:
其他好文 时间:
2021-06-06 18:53:34
阅读次数:
0
Prerequisites: CentOS7 virtual machine on Hyper-V Now we have a working CentOS7 virtual machine on Hyper-V. Let's configure the Internal network for i ...
分类:
Web程序 时间:
2021-06-05 18:04:36
阅读次数:
0
<!--阿里云短信接口包 begin--> <dependency> <groupId>com.aliyun</groupId> <artifactId>aliyun-java-sdk-core</artifactId> <version>4.4.6</version> <!-- 注:如提示报错,先 ...
分类:
其他好文 时间:
2021-06-04 19:44:26
阅读次数:
0
USE [dbo].[MySchool] GO IF COL_LENGTH('Student','Score') IS NULL BEGIN ALTER TABLE Student ADD Score DOUBLE END GO COL_LENGTH判断表中是否含有列,比如此处判断Student表中 ...
分类:
数据库 时间:
2021-06-03 18:27:49
阅读次数:
0
sql语言中,并没有数组这个数据类型,所以需要自己定义; 定义方式如type语句; 定义好后,给数组赋初值,注意这个赋初值的操作和js、java不一样,不能用中括号[]直接赋初值,需要用arr类型,有点像new arr()创建一个对象出来; declare type arr is ARRAY var ...
分类:
数据库 时间:
2021-06-03 18:10:48
阅读次数:
0
目录 莫比乌斯函数 莫比乌斯反演 莫比乌斯函数 首先,我们先介绍一下莫比乌斯函数 \(\mu(x)\) 设 \(x\) 质因数分解式为:\(x = \prod_{i=1}^k p_i^{\alpha_i}\) $$\mu(x)= \begin 0& \exists \alpha_i \geqslan ...
分类:
其他好文 时间:
2021-06-02 19:55:09
阅读次数:
0
环境介绍 RHEL8 nginx 192.168.92.129 RHEL8 myxql 192.168.92.130 RHEL8 php 192.168.92.131 nginx配置 //关闭服务器和selinux [root@nginx ~]# systemctl disable --now fi ...
分类:
其他好文 时间:
2021-06-02 19:38:14
阅读次数:
0
[开机启动]解决insserv: warning: script '服务名' missing LSB tags and overrides 按照LSB tags规范改写脚本如下 其实解决办法就是在#!/bin/bash下面添加: #!/bin/bash ### BEGIN INIT INFO # P ...
分类:
系统相关 时间:
2021-06-02 19:34:37
阅读次数:
0