题目链接 维护一个区间最小值同时维护一个区间最小值的减法 #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
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
首先我们一览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
做别名扫描添加的硬盘 [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
早期数据渲染的几种方式 在模板引擎没有诞生之前,为了用JS把数据渲染到页面上,诞生了一系列数据渲染的方式。 最最基础的,莫过于直接使用DOM接口创建所有节点。 <div id="root"></div> <script> var root = document.getElementById('roo ...
分类:
其他好文 时间:
2021-05-03 12:12:34
阅读次数:
0
crontab 用于设置定时任务,通过 cat /etc/crontab 可查看 crontab 示例: $ cat /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root # For details s ...
分类:
其他好文 时间:
2021-05-03 11:54:27
阅读次数:
0
现象 通过JDBC连接MySQL提示 分析 先检查权限问题 grant all privileges on *.* to 'root'@'%' with grant option; 可能你的密码错了 这个容易被忽略! ...
分类:
数据库 时间:
2021-04-30 12:01:05
阅读次数:
0
IaaS 平台构建 1.关闭防火墙,禁止开机自启 systemctl stop firewalld systemctl disable firewalld 2.设置主机名 hostnamectl set-hostname controller 设置主机名compute 3.设置selinux,per ...
分类:
其他好文 时间:
2021-04-29 12:11:43
阅读次数:
0
1。如果取到一个审批节点添加的审批用户 首先 EPM_ask_root_task();//获取rootTask 其次 EPM_ask_sub_tasks();//遍历rootTask 通过节点名称筛选审批节点,得到审批节点 得到审批节点 EPM_ask_sub_tasks();再次遍历节点 通过类型 ...
分类:
其他好文 时间:
2021-04-29 11:53:15
阅读次数:
0