码迷,mamicode.com
首页 >  
搜索关键字:后缀数组    ( 1340个结果
POJ3415:Common Substrings(后缀数组+单调栈)
Description A substring of a string T is defined as: T(i, k)=TiTi+1...Ti+k-1, 1≤i≤i+k-1≤|T|. Given two strings A, B and one integer K, we define S, a set of triples (i, j, k): S = {(i, j, ...
分类:编程语言   时间:2015-06-07 23:41:18    阅读次数:391
省赛总结
这次省赛 虽然签到题有一点坑(神奇的是我们队还给改对了)但是后面的题没做出来 我感觉还是学的太浅;从今天开始 刷够500题在打比赛;本周目标:后缀数组刷完的话 把上周剩下的rmq补完
分类:其他好文   时间:2015-06-07 21:34:50    阅读次数:102
cdoj 题目简单分类
如有错误请联系我,下面题的题解,除了傻逼题均可以在我blog中查找1 傻逼题3 傻逼题4 傻逼题15 dfs24 傻逼题25傻逼题26 傻逼题30 flyod31 01背包42 kruskal43 后缀数组45 最大流48 傻逼题57 傻逼题58 傻逼题59 傻逼题60 傻逼题61 傻逼题62 傻逼...
分类:其他好文   时间:2015-06-02 01:38:01    阅读次数:103
POJ3693:Maximum repetition substring(后缀数组+RMQ)
Description The repetition number of a string is defined as the maximum number R such that the string can be partitioned into R same consecutive substrings. For example, the repetition number of "a...
分类:编程语言   时间:2015-06-01 22:36:06    阅读次数:262
POJ2406:Power Strings(后缀数组DC3)
Description Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think of concatenation as multiplication, exponenti...
分类:编程语言   时间:2015-06-01 14:43:30    阅读次数:254
URAL1297:Palindrome(后缀数组)
Description The “U.S. Robots” HQ has just received a rather alarming anonymous letter. It states that the agent from the competing «Robots Unlimited» has infiltrated into “U.S. Robotics”. «U.S. R...
分类:编程语言   时间:2015-05-31 01:24:51    阅读次数:160
POJ3261:Milk Patterns(后缀数组)
Description Farmer John has noticed that the quality of milk given by his cows varies from day to day. On further investigation, he discovered that although he can't predict the quality of milk fro...
分类:编程语言   时间:2015-05-29 15:49:04    阅读次数:125
SPOJ694&&SPOJ705:Distinct Substrings(后缀数组)
Description Given a string, we need to find the total number of its distinct substrings. Input T- number of test cases. T Each test case consists of one string, whose length is Output For e...
分类:编程语言   时间:2015-05-29 15:46:00    阅读次数:120
poj1743:Musical Theme(后缀数组)
Description A musical melody is represented as a sequence of N (1<=N<=20000)notes that are integers in the range 1..88, each representing a key on the piano. It is unfortunate but true that this re...
分类:编程语言   时间:2015-05-29 13:56:49    阅读次数:125
POJ2774:Long Long Message(后缀数组)
Description The little cat is majoring in physics in the capital of Byterland. A piece of sad news comes to him these days: his mother is getting ill. Being worried about spending so much on railwa...
分类:编程语言   时间:2015-05-28 21:34:27    阅读次数:141
1340条   上一页 1 ... 96 97 98 99 100 ... 134 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!