摘要: Zero SumConsider the sequence of digits from 1 through N (where N=9) in increasing order:1 2 3 ... N.Now insert either a `+' for addition or a `-' for subtraction or a ` ' [blank] to run the digits together between each pair of digits (not in front of the first digit). Calculate the resu 阅读全文
posted @ 2012-09-05 14:00 mtry 阅读(661) 评论(0) 推荐(0)
摘要: Longest PrefixIOI'96The structure of some biological objects is represented by the sequence of their constituents, where each part is denote by an uppercase letter. Biologists are interested in decomposing a long sequence into shorter ones calledprimitives.We say that a sequence S can be compose 阅读全文
posted @ 2012-09-05 11:07 mtry 阅读(437) 评论(0) 推荐(0)