Harry And Biological Teacher 分块 + 字符串hash
摘要:        
http://acm.hdu.edu.cn/showproblem.php?pid=5069 首先判断suffix和prefix最长多少可以直接暴力枚举长度然后 + hash可以立马判断是否相等,复杂度O(lenstr) 现在知道总长度 <= 1e5, magic = sqrt(lenstr) 那么    阅读全文
		
		posted @ 2017-08-04 22:56 stupid_one 阅读(213) 评论(0) 推荐(0)
                    
                
浙公网安备 33010602011771号