Pentium.Labs

System全家桶:https://zhuanlan.zhihu.com/c_1238468913098731520

导航

2014年10月25日 #

hdu 3068 最长回文子串 TLE

摘要: 后缀数组+RMQ是O(nlogn)的,会TLE.....标准解法好像是马拉车,O(n).... 1 #include "algorithm" 2 #include "cstdio" 3 #include "cstring" 4 using namespace std; 5 #define ... 阅读全文

posted @ 2014-10-25 18:04 Pentium.Labs 阅读(345) 评论(0) 推荐(0)



Pentium.Lab Since 1998