摘要: Description:Kefa wants to celebrate his first big salary by going to restaurant. However, he needs company.Kefa hasnfriends, each friend will agree to... 阅读全文
posted @ 2015-10-12 17:51 搁浅の记忆 阅读(317) 评论(0) 推荐(0) 编辑
摘要: Description:After an uphill battle, General Li won a great victory. Now the head of state decide to reward him with honor and treasures for his great ... 阅读全文
posted @ 2015-10-12 11:36 搁浅の记忆 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Description:给出一个只由小写英文字符a,b,c...y,z组成的字符串S,求S中最长回文串的长度.回文就是正反读都是一样的字符串,如aba, abba等Input:输入有多组case,不超过120组,每组输入为一行小写英文字符a,b,c...y,z组成的字符串S两组case之间由空行隔开... 阅读全文
posted @ 2015-10-12 09:49 搁浅の记忆 阅读(162) 评论(0) 推荐(0) 编辑