Idea 看题解的KMP自己手动实现太难了,我还是选择容易理解的暴力枚举叭 AC Code class Solution {public:bool isCheck(string subs, string s) {if(s.size() % subs.size() != 0) return false;int k = s.size() / subs.size();string com
Idea 看题解的KMP自己手动实现太难了,我还是选择容易理解的暴力枚举叭 AC Code class Solution {public:bool isCheck(string subs, string s) {if(s.size() % subs.size() != 0) return false;int k = s.size() / subs.size();string com