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)
浙公网安备 33010602011771号