bzoj2865 字符串识别(SA+线段树)

与bzoj1396基本一样,不过这题卡内存,SAM跑不过去,只能写SA。
不过蒟蒻懒得写了qaq就不放代码了…

猜你喜欢

转载自blog.csdn.net/icefox_zhx/article/details/80727565