摘要: SAM裸题。这道题卡空间。要小心数组别开炸了。 cpp include include typedef long long ll; const int maxn = 2e7+20; int par[maxn],mx[maxn],tr[maxn][4]; int cnt=1,last=1; inlin 阅读全文
posted @ 2018-11-21 10:03 文文殿下 阅读(110) 评论(0) 推荐(0) 编辑
摘要: "题目链接https://www.luogu.org/problemnew/show/P2408" SAM裸题,大力求就行了 cpp include include typedef long long ll; const int maxn = 2e5+20; int par[maxn],mx[max 阅读全文
posted @ 2018-11-21 09:56 文文殿下 阅读(156) 评论(0) 推荐(0) 编辑