摘要: EncodingProblem DescriptionGiven a string containing only 'A' - 'Z', we could encode it using the following method:1. Each sub-string containing k same characters should be encoded to "kX" where "X" is the only character in this sub-string.2. If the length of the 阅读全文
posted @ 2011-05-30 19:39 cpoint 阅读(608) 评论(0) 推荐(0) 编辑
摘要: Design T-ShirtProblem DescriptionSoon after he decided to design a T-shirt for our Algorithm Board on Free-City BBS, XKA found that he was trapped by all kinds of suggestions from everyone on the board. It is indeed a mission-impossible to have everybody perfectly satisfied. So he took a poll to col 阅读全文
posted @ 2011-05-30 17:34 cpoint 阅读(1204) 评论(0) 推荐(0) 编辑
浏览次数:travelocity promotion codes