LG5227 [AHOI2013]连通图 线段树分治板子。这种动态图的问题看都不要看,大概率可以用线段树分治。 我们有一堆的集合,每次把这个集合的边删掉,问你每个时刻的连通性。 我们只需要把这个时刻删去的集合里的边删掉,也就是这个区间不用加这条边,按常规把边扔到线段树上,遍历一下,每个点的连通性就出 ...
分类:
其他好文 时间:
2021-03-08 13:37:10
阅读次数:
0
我们都知道SpringBoot自问世以来,一直有一个响亮的口号"约定优于配置",其实一种按约定编程的软件设计范式,目的在于减少软件开发人员在工作中的各种繁琐的配置,我们都知道传统的SSM框架的组合,会伴随着大量的繁琐的配置;稍有不慎,就可能各种bug,被人发现还以为我们技术很菜。而SpringBoo ...
分类:
编程语言 时间:
2021-03-08 13:36:43
阅读次数:
0
作用域 def test1(): print("in the test1")def test(): print("in the test") return test1 》test1 是函数test1的IP地址s = test() >运作test()结果是 in the test ,然后返回test1 ...
分类:
其他好文 时间:
2021-03-08 13:36:19
阅读次数:
0
我们假设有这样的结构: .module-wrapper( :id="`${targetSelector}`+ 'wrapper'" :style="styleStr" v-show="show" :class="{border: isDrag, operated: operated}" ref="w ...
分类:
其他好文 时间:
2021-03-08 13:36:04
阅读次数:
0
1、快速创建页面结构: mDoctype HTML: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Document</title> <meta name="viewport" content="wid ...
分类:
其他好文 时间:
2021-03-08 13:35:36
阅读次数:
0
关于该漏洞,请参照:https://www.jianshu.com/p/e73f7de1a0f6 补充说明一点,rsync默认运行在873端口,由于1024以下端口为特权端口,仅root用户可以使用,所以默认运行rsync的为root用户。 ...
分类:
系统相关 时间:
2021-03-08 13:35:21
阅读次数:
0
changeOrigin: true,//是否允许跨越 // 获取某个时间格式的时间戳 var stringTime = "2014-07-10 10:21:12"; var timestamp2 = Date.parse(new Date(stringTime)); timestamp2 = ti ...
分类:
其他好文 时间:
2021-03-08 13:35:09
阅读次数:
0
async getHomes(item) { let temp = await http.getHome(); let type = []; this.content.push(type); this.show = type; for (var i = 0; i < temp.length; i++ ...
分类:
其他好文 时间:
2021-03-08 13:34:55
阅读次数:
0
var index=1; left.onclick=function () { index++ if (index>3) { index=0 } one.style.left=-index*800+"px" } right.onclick=function () { index-- if (inde ...
分类:
其他好文 时间:
2021-03-08 13:34:42
阅读次数:
0
Programming languages can be distinguished by several characteristics, but one of the most important is the nature of their type system. Python could ...
分类:
编程语言 时间:
2021-03-08 13:34:24
阅读次数:
0
//STL之MAP用法 //以往定义的数组实现了int类型向其他类型的映射 //现在想要实现其他类型向其他类型的映射 //通过map实现键值对存储 #include<stdio.h> #include<map> using namespace std; int main() { //定义 map<c ...
分类:
其他好文 时间:
2021-03-08 13:34:05
阅读次数:
0
SELECT * FROM information_schema.innodb_trx 命令是用来查看当前运行的所以事务: 在执行结果中可以看到是否有表锁等待或者死锁,如果有死锁发生,可以通过下面的命令来杀掉当前运行的事务: KILL 165667 ; KILL 后面的数字指的是 trx_mysql ...
分类:
数据库 时间:
2021-03-08 13:33:51
阅读次数:
0
docker swarm 环境准备 在本地搭建3台虚拟机1C2G,用于swarm集群。 ip地址 192.168.1.10,192.168.1.11,192.168.1.12. 配置yum源使用阿里云,使用xshell发送到所有session功能,一次操作3台机器 安装docker #配置yum源使 ...
分类:
其他好文 时间:
2021-03-08 13:33:34
阅读次数:
0
1 错误代码: ora-27101 ora-01034 错误主要内存: shard memory realm does not exit 错误分析: 此错误是不能连接oracle服务器的提示,代表oracle服务整体异常,重启oracle服务能恢复正常,再进行memory_target调整,降低配置 ...
分类:
数据库 时间:
2021-03-08 13:33:17
阅读次数:
0
Java方法的重载 方法重载:在类中方法名称相同,但是形式参数不同 public class Demo15 { public static void main(String[] args) { int sum= max(30,30); System.out.println(sum); double ...
分类:
编程语言 时间:
2021-03-08 13:32:56
阅读次数:
0
项目中使用的是HSSF进行写入下载操作,但是数据量过大时可能会造成OOM内存溢出异常,原因是一次性将所有信息写入到内存中。 百度了一下,知道原来poi中还有SXSSF,专门解决这个问题,另外还有个意外收货,那就是阿里的EasyExcel。 详细说明感觉自己也总结不了那么好,这个文章详细说明了POI的 ...
分类:
其他好文 时间:
2021-03-08 13:32:40
阅读次数:
0
const current = new Date().getFullYear() + '-' + (new Date().getMonth() + 1) + '-' + new Date().getDate() + '-' + new Date().getHours() + ':' + new Da ...
分类:
其他好文 时间:
2021-03-08 13:32:22
阅读次数:
0