''WA''自动机模板,挂了第一个和最后一个,但就是挂...求助

P3796 AC 自动机(简单版 II)

你AC自动机没必要用什么last指针去跳 直接用get到的fail指针跳就行啦
by star_magic_young @ 2018-01-23 08:31:15


**我的模板?**:D
by _WA自动机 @ 2018-01-31 21:22:24


@[star\_magic\_young](/space/show?uid=38372) last指针快啊
by _WA自动机 @ 2018-01-31 21:23:17


可能有重复模板
by _WA自动机 @ 2018-01-31 21:42:45


因为这是WA自动机啊 手动滑稽~
by unsigned @ 2018-02-03 11:19:37


|