http://www.lydsy.com/JudgeOnline/problem.php?id=3676 过程很艰难了,第一次提交Manacher忘了更新p数组,超时,第二次是倍增的第0维直接在自动机里完成,但是忽略了增加新点时fa变动的情况,还是肉眼查错最管用。 得到的教训是既然倍增就在倍增的函数 ...
Logging initialized using configuration in jar:file:/usr/local/hive/lib/hive-common-1.2.2.jar!/hive-log4j.properties[ERROR] Terminal initialization fa ...
分类:
其他好文 时间:
2018-03-14 12:46:26
阅读次数:
463
void update(int i,int l,int r,int c) { if(tr[i].l==l&&tr[i].r==r) { tr[i].f=c; int len=(tr[i].r-tr[i].l+1); tr[i].hash1=fac[0][c][len]; tr[i].hash2=fa ...
分类:
其他好文 时间:
2018-03-12 21:05:40
阅读次数:
127
硬盘机制 磁盘分区信息是放在硬盘上的,而不是操作系统里,存在整个硬盘的第0个扇区(sector)。 MBR机制:Master Boot Record (主引导记录) 占用空间为512bytes: 。boot loader (一段程序,引导加载器的程序)加载指定操作系统的内核:446bytes 。fa ...
分类:
其他好文 时间:
2018-03-11 17:44:42
阅读次数:
125
树链剖分 一个听起来很高级的数据结构 但其实就是一个比较优雅的暴力 树链剖分 字面意思, 就是把树上的路径剖成一条条链 首先是树链剖分的一些定义: size[u] 包括u在内u的子节点个数 son[u] 结点u的重儿子 dep[u] 结点u的深度 fa[u] 结点u的父亲节点 top[u] 结点u所 ...
分类:
其他好文 时间:
2018-03-08 13:58:32
阅读次数:
166
1 // 2 function loadXMLDoc() { 3 function success(text) { 4 var textarea = document.getElementById('myid'); 5 textarea.value = text; 6 } 7 function fa... ...
分类:
Web程序 时间:
2018-03-07 10:31:05
阅读次数:
237
Problem Description Every school has some legends, Northeastern University is the same.Enter from the north gate of Northeastern University,You are fa ...
分类:
其他好文 时间:
2018-03-04 01:08:52
阅读次数:
198
边带权比较好做,然后dp方案 cpp include include include include include using namespace std; int n, pu, pv, uu, vv, fa[605], gx[605], cnt, bel1[605], bel2[605], dp ...
分类:
其他好文 时间:
2018-03-02 20:36:23
阅读次数:
186
题目链接:https://www.luogu.org/problemnew/show/P3378 是堆的模板...我懒,STL da fa is good ...
分类:
其他好文 时间:
2018-02-26 23:13:10
阅读次数:
191
一、实验名称利用三层交换机实现VLAN间路由二、实验内容1.新建 packet tracer 拓扑图2.在二层交换机上配置 VLAN2、 VLAN3,分别将端口 2、端口 3 划分给 VLAN2、VLAN3。3.将二层交换机与三层交换机相连的端口 fa 0/1 都定义为 tag Vlan 模式。4.在三层交换机上配置 VLAN2、 VLAN3,此时验证二层交换机 VLAN2、 VLAN3下的主机之
分类:
其他好文 时间:
2018-02-26 13:31:25
阅读次数:
200