码迷,mamicode.com
首页 >  
搜索关键字:poj1226 substrings    ( 386个结果
codeforce 804B Minimum number of steps
cf劲啊 原题: We have a string of letters 'a' and 'b'. We want to perform some operations on it. On each step we choose one of substrings "ab" in the strin ...
分类:其他好文   时间:2017-05-05 09:23:40    阅读次数:266
九章算法基础班
Remove Substrings Given a string s and a set of n substrings. You are supposed to remove every instance of those n substrings from s so that s is of t ...
分类:编程语言   时间:2017-04-25 21:13:55    阅读次数:224
Substrings(hdu 4455)
题意: 给定一个序列ai,个数为n。再给出一系列w;对于每个w,求序列中,所有长度为w的连续子串中的权值和,子串权值为子串中不同数的个数。 ...
分类:其他好文   时间:2017-04-25 00:48:29    阅读次数:117
CodeForces 550A Two Substrings(模拟)
【题目链接】click here~~ 【题目大意】: You are given string s. Your task is to determine if the given string s contains two non-overlapping substrings “AB” and “B ...
分类:其他好文   时间:2017-04-12 04:27:35    阅读次数:164
hdu1238 Substrings 扩展KMP
You are given a number of case-sensitive strings of alphabetic characters, find the largest string X, such that either X, or its inverse can be found ...
分类:其他好文   时间:2017-03-19 11:07:40    阅读次数:164
A题:Common Substrings(KMP应用)
原题链接 注意:2号和3号get_next()函数中next[i]赋值时的区别,一个是0,一个是1,且不能互换 ...
分类:其他好文   时间:2017-03-13 19:18:34    阅读次数:224
[SPOJ8222]Substrings
[SPOJ8222]Substrings 试题描述 You are given a string S which consists of 250000 lowercase latin letters at most. We define F(x) as the maximal number of t ...
分类:其他好文   时间:2017-03-13 11:17:35    阅读次数:210
Repeated Substrings(UVAlive 6869)
题意:求出现过两次以上的不同子串有多少种。 ...
分类:其他好文   时间:2017-03-12 23:43:12    阅读次数:191
Distinct Substrings(spoj 694)
题意:要求不同子串的个数 ...
分类:其他好文   时间:2017-03-12 23:42:01    阅读次数:185
CSU-1632 Repeated Substrings[后缀数组求重复出现的子串数目]
评测地址:https://cn.vjudge.net/problem/CSU-1632 Description 求字符串中所有出现至少2次的子串个数 Input 第一行为一整数T(T<=10)表示用例组数,每组用例占一行为一个长度不超过100000的字符串 Output 对于每组用例,输出该串中所有 ...
分类:编程语言   时间:2017-03-12 11:46:03    阅读次数:183
386条   上一页 1 ... 18 19 20 21 22 ... 39 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!