跳到正文

X_L_Z

812885

luogu.me (给我发接龙的是gay)

在洛谷打开
资料、奖项与版本

资料

编号
812885
抓取

推广推广一下我的魔怔比赛 密码是A……mystriousenity!
\

C++
#include<bits/stdc++.h>
using namespace std;
#define ll long long

int main(){
	return 0;
}



https://www.luogu.me/article/rhzrp52s






好玩的东西





超好用的洛谷词典


1

https://holuc1078.github.io/OItrainer/



666\textcolor{white}{666}




https://little09qwq.github.io/oi-remake-game/



oi.seveoi.icu\textcolor{white}{oi.seveoi.icu }

https://holuc1078.github.io/OItrainer/\textcolor{white}{https://holuc1078.github.io/OItrainer/ } https://qoj.ac/files/OItrainer−main/start.html\textcolor{white}{https://qoj.ac/files/OItrainer-main/start.html}

https://cdn.luogu.com.cn/upload/imagehosting/c1awqmdc.png\textcolor{white}{https://cdn.luogu.com.cn/upload/image_hosting/c1awqmdc.png }

贪吃蛇

florr突围

鼠标的物理引擎

我的主题

主题1

主题2

1

共 1 篇
  1. 题解

    题解:P3805 【模板】manacher

    Manacher算法是一种用于高效求解最长回文子串的O(N)算法。其核心思想是通过在原始字符串中插入特殊字符(如#)将所有回文统一处理为奇数长度形式,便于计算。算法从左到右依次计算每个字符为中心的最大回文半径p_i,并维护当前已知的最右回文边界R和对应中心m。当计算p_i时,若i在R之外,则直接以i为中心暴力扩展;若i在R之内,则根据对称点j=2m−i的p_j值与当前R的位置关系,取较小值作为初始半径后继续暴力扩展。该方法通过巧妙利用对称性和已知边界信息,避免了暴力法的重复计算,显著提升了效率。

    1 赞