给定两个字符串 s1 和 s2,以及一个正整数 k。要求在字符串 s2 中找到一个长度为 len(s1) + k 的子串,使得:
s1 中的所有字母;s1 中的出现次数。给定两个字符串 s1 和 s2 和正整数 k,其中 s1 长度为 n1,s2 长度为 n2。
在 s2 中选一个子串,若满足下面条件,则称 s2 以长度 k 冗余覆盖 s1
By signing up a CodeFun2000 universal account, you can submit code and join discussions in all online judging services provided by us.