在server.xml 修改如下 <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs/log" prefix="localhost_access_log" suffix=".log" pattern ...
分类:
其他好文 时间:
2017-09-25 16:07:19
阅读次数:
143
Aho-Corasick automaton:BZOJ4820【bzoj2754】[SCOI2012]喵星球上的点名后缀数组:BZOJ4310 跳蚤manacher: BZOJ3160万径人踪灭Palindromic Tree:bzoj4044Bzoj3676:[Apio2014]回文串 bzoj ...
分类:
其他好文 时间:
2017-09-24 13:45:45
阅读次数:
181
#1579 : Reverse Suffix Array #1579 : Reverse Suffix Array 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 There is a strong data structure called "Suffix Array" ...
分类:
编程语言 时间:
2017-09-24 11:42:03
阅读次数:
269
private function updateThemeFiles($theme, $suffix = 'html') { $dir = 'themes/' . $theme; $themeDir = $dir; $tplFiles = []; $roo... ...
分类:
其他好文 时间:
2017-09-22 21:16:22
阅读次数:
158
一、--日志 <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %t ...
分类:
其他好文 时间:
2017-09-21 21:03:09
阅读次数:
146
P1860 后缀数组 时间: 1000ms / 空间: 131072KiB / Java类名: Main 描述 我们定义一个字符串的后缀suffix(i)表示从s[i]到s[length(s)]这段子串。 后缀数组(Suffix array)SA[i]中存放着一个排列,满足suffix(sa[i]) ...
分类:
编程语言 时间:
2017-09-13 20:19:57
阅读次数:
262
public static List listFile(List lstFileNames, File f, String suffix, boolean isdepth) { // 若是目录, 采用递归的方法遍历子目录 try { if (f.isDirectory()) { Fil... ...
分类:
其他好文 时间:
2017-09-07 12:02:13
阅读次数:
146
<insert id="insert" parameterType="net.huadong.entity.system.SystemRole"> insert into SYSTEM_ROLE <trim prefix="(" suffix=")" suffixOverrides=","> <if ...
分类:
数据库 时间:
2017-08-19 12:54:07
阅读次数:
219
题目链接:http://poj.org/problem?id=3150 题目意思:有n个数围成一个环,现在有一种变换,将所有距离第i(1<=i<=n)个数小于等于d的数加起来,对m取余,现在要求将所有的数都变换k次,得到的n个数的值。 思路:构造一个循环矩阵,以下这个矩阵是以样例1为例的循环矩阵。 ...
分类:
其他好文 时间:
2017-08-14 00:39:37
阅读次数:
139
Asterix, Obelix and their temporary buddies Suffix and Prefix has finally found the Harmony temple. However, its doors were firmly locked and even Obe ...
分类:
其他好文 时间:
2017-08-08 19:49:23
阅读次数:
138