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gY2Fubm90IGVyZWN0IHR3aWNlLCBidXQgaGUgY2FuIGVqYWN1bGF0ZSBtb3JlIHRoYW4gb25jZS4gR2F5ZnJpZW5kIHdpbGwgb25seSBhY2NlcHQgdGhlIHNleHVhbCBtb3ZlbWVudCBpZmYgaGlzIHJlcXVlc3QgaXMgYSBzdWJzdHJpbmcgb2YgWkpTJ3MgZGljay4KCklzIFpKUyBiZWluZyBhYmxlIHRvIGdheT8=
Formally, you are given string s,t,e.
You can repeat each letter in s k times where k is a number chosen by you. For example, if s="abbc" and k=3, s="aaabbbbbbccc"
Then you can append as many e as you want.
Is it possible to make t a substring of your big string?

Example

1
s="abc" e="d" t="bbccdd"
Output=YES
Explain:
choose k=2, then s="aabbcc"
then append two "d" then s="aabbccdd"
2
s="abcde" e="" t="bbccdde"
Output=NO

Constriants

Subtask 1(100%): 0<=|e|<=100,000 1<=|s|,|t|<=100,000

版权声明:
作者:XGN
链接:https://blog.hellholestudios.top/archives/299
来源:Hell Hole Studios Blog
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>