摘要: HDU 3294 Problem Description One day, sailormoon girls are so delighted that they intend to research about palindromic strings. Operation contains two 阅读全文
posted @ 2016-04-17 17:56 茶飘香~ 阅读(165) 评论(0) 推荐(0) 编辑
摘要: HDU 4513 Problem Description 吉哥又想出了一个新的完美队形游戏! 假设有n个人按顺序站在他的面前,他们的身高分别是h[1], h[2] ... h[n],吉哥希望从中挑出一些人,让这些人形成一个新的队形,新的队形若满足以下三点要求,则就是新的完美队形: 1、挑出的人保持原 阅读全文
posted @ 2016-04-17 17:04 茶飘香~ 阅读(180) 评论(0) 推荐(0) 编辑
摘要: POJ 3974 Description Andy the smart computer science student was attending an algorithms class when the professor asked the students a simple question 阅读全文
posted @ 2016-04-17 11:55 茶飘香~ 阅读(210) 评论(0) 推荐(0) 编辑