题目链接 维护一个区间最小值同时维护一个区间最小值的减法 #include <bits/stdc++.h> using namespace std; const int N = 100010; int a[N]; int n,k; struct node{ int l,r; int v,add; } ...
分类:
其他好文 时间:
2021-05-04 16:06:56
阅读次数:
0
查看当前系统JupyterLab支持的所有字体 from matplotlib.font_manager import FontManager mpl_fonts = set(f.name for f in FontManager().ttflist) print('all font list ge ...
分类:
其他好文 时间:
2021-05-04 16:05:28
阅读次数:
0
方法分组测试 1. 给@Test注解后面加groups参数,如 @Test(groups = "groupa") 2. 可以添加@BeforeGroups和@AfterGroups,来设置在某组方法执行之前/之后要做的事情,如 @BeforeGroups("groupa") 1 import org ...
分类:
其他好文 时间:
2021-05-04 15:52:39
阅读次数:
0
IDEA集成Docker部署微服务 回顾docker 。。 安装docker # 在192.168.204.141安装docker [root@A ~]# yum -y install docker # 启动docker [root@A ~]# systemctl start docker # 查看 ...
分类:
其他好文 时间:
2021-05-04 15:52:19
阅读次数:
0
import os # os.mkdir("n1") # 创建目录 # 创建文件 # with open('1.txt',mode='w') as file: # file.write('11111') # os.mknod("n1.txt") # 创建文件,windows上面不支持,linux中支 ...
分类:
编程语言 时间:
2021-05-04 15:43:42
阅读次数:
0
本文列出一些常用的 Windows 网络管理命令。 (目录) ping ping: 测试网络连接情况 -n:要发送的回显请求数 -t:ping 主机直到中断 -i:生存时间ttl -6:IPv6 $ ping 192.168.20.8 -n 3 Pinging 192.168.20.8 with 3 ...
首先我们一览flask的源码结构 total 92 drwxr-xr-x. 2 root root 70 Mar 4 22:42 artwork -rw-r--r--. 1 root root 47000 Mar 4 22:42 CHANGES.rst -rw-r--r--. 1 root root ...
分类:
其他好文 时间:
2021-05-03 13:01:10
阅读次数:
0
给定一个保存员工信息的数据结构,它包含了员工 唯一的 id ,重要度 和 直系下属的 id 。 比如,员工 1 是员工 2 的领导,员工 2 是员工 3 的领导。他们相应的重要度为 15 , 10 , 5 。那么员工 1 的数据结构是 [1, 15, [2]] ,员工 2的 数据结构是 [2, 10 ...
分类:
其他好文 时间:
2021-05-03 12:40:16
阅读次数:
0
做别名扫描添加的硬盘 [root@localhost ks]# alias scandisk="echo '- - -' > /sys/class/scsi_host/host0/scan;echo '- - -' > /sys/class/scsi_host/host1/scan;echo '- ...
分类:
其他好文 时间:
2021-05-03 12:39:12
阅读次数:
0
命令行 安装软件包 [root@localhost ~]# yum install cobbler cobbler-web dhcp pykickstart -y 开机启动 [root@localhost ~]# systemctl enable --now cobblerd httpd tftp ...
分类:
其他好文 时间:
2021-05-03 12:35:24
阅读次数:
0