- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 hdu 4513 吉哥系列故事——完美队形II Manacher变形
传送门:吉哥系列故事——完美队形II马拉车的简单变形,如果不懂Manacher算法请移步:Manacher算法讲解AC CODE#include <cstdio> #include <cstring> #include <iostream> #include <algorithm> using namespace std; const int MX = 1e5 + 5; int A[MX]; int
2017-04-04 13:43:47 528
原创 poj 1470 Closest Common Ancestors LCA离线
传送门:Closest Common Ancestors基本的LCA的离线版本,如果不懂请移步LCAAC Code#include <cstdio> #include <cstring> #include <iostream> #include <algorithm> using namespace std; const int MXN = 1e3 + 7; const int MXM = 3e5
2017-04-04 10:53:50 685
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人