CH 白色情人节2(⑤我心永恒-字符串序列个数统计)
背景 You’re here, there’s nothing I fear, and I know that my heart will go on. We’…
背景 You’re here, there’s nothing I fear, and I know that my heart will go on. We’…
Problem 1 回文子串对(manacher.cpp/c/pas) 【题目描述】 给定一长度为n的小写字母串,求有多少对回文子串,它们的交集非空。 一对回文…
Problem 1 两个子序列(twosub.pas/c/cpp) 【题目描述】 将给定的n个长度为M的01串序列{a1,a2…an} 分为两个子序列{b1,b…