摘要:
manachar算法用来解决字符串的最大回文子串的问题 代码十分简单!!! 所以,我先贴代码再来解释原因。 这句话是干啥的 好的 来解决一下这个问题 这样画一下图就解释了上面那一条语句的原因 这一条很简单,检查一下是否能够继续增加回文子串的长度 最后是对于id和mx的更新 好了 这样差不多就解决完了 阅读全文
posted @ 2017-07-24 20:42
小蒟蒻yyb
阅读(755)
评论(4)
推荐(4)
摘要:
题目描述 The good folks in Texas are having a heatwave this summer. Their Texas Longhorn cows make for good eating but are not so adept at creating creamy 阅读全文
posted @ 2017-07-24 16:37
小蒟蒻yyb
阅读(287)
评论(0)
推荐(0)
摘要:
题面 Bessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 include include include include include 阅读全文
posted @ 2017-07-24 10:02
小蒟蒻yyb
阅读(298)
评论(2)
推荐(1)