链接:https://www.luogu.org/problemnew/show/P3763 题解: 挺水的一题后缀数组 枚举每一个开头用后缀数组判断能否在3次内匹配完 转载于:https://www.cnblogs.com/yinwuxiao/p/8460094.html