摘要: Description 给出一个只由小写英文字符a,b,c...y,z组成的字符串S,求S中最长回文串的长度. 回文就是正反读都是一样的字符串,如aba, abba等Input 输入有多组case,不超过120组,每组输入为一行小写英文字符a,b,c...y,z组成的字符串S 两组case之间由空行 阅读全文
posted @ 2017-05-25 22:48 人棍王楼下的AI 阅读(129) 评论(0) 推荐(0) 编辑
摘要: Description Farmer John has noticed that the quality of milk given by his cows varies from day to day. On further investigation, he discovered that al 阅读全文
posted @ 2017-05-25 12:03 人棍王楼下的AI 阅读(184) 评论(0) 推荐(0) 编辑