摘要: Common SubsequenceTime Limit:1000MSMemory Limit:10000KDescriptionA subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = < x1, x2, ..., xm > another sequence Z = < z1, z2, ..., zk > is a subsequence of X if there exists a 阅读全文
posted @ 2013-04-09 16:02 徘徊在WA与AC之间 阅读(174) 评论(0) 推荐(0)
摘要: RailsTime Limit: 1000MSMemory Limit: 10000KDescriptionThere is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately, funds were extremely limited that time. It was possible to establish only a surface track. Moreover, it tu 阅读全文
posted @ 2013-04-07 19:43 徘徊在WA与AC之间 阅读(275) 评论(0) 推荐(0)