摘要:
You are given a string S which consists of 250000 lowercase latin letters at most. We define F(x) as the maximal number of times that some string with 阅读全文
摘要:
Description 给出几个由小写字母构成的单词,求它们最长的公共子串的长度。 任务: l 读入单词 l 计算最长公共子串的长度 l 输出结果 给出几个由小写字母构成的单词,求它们最长的公共子串的长度。 任务: l 读入单词 l 计算最长公共子串的长度 l 输出结果 Input 文件的第一行是整 阅读全文
摘要:
稳。。。。 题目区分度太小了。。。 A. Mishka and Contest 直接模拟 #include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int MAXN = 1e6 + 10; in 阅读全文
摘要:
A string is finite sequence of characters over a non-empty finite set Σ. In this problem, Σ is the set of lowercase letters. Substring, also called fa 阅读全文