2013年2月5日

USACO2.2.2--Subset Sums

摘要: Subset SumsJRMFor many sets of consecutive integers from 1 through N (1 <= N <= 39), one can partition the set into two sets whose sums are identical.For example, if N=3, one can partition the set {1, 2, 3} in one way so that the sums of both subsets are identical:{3} and {1,2}This counts as a 阅读全文

posted @ 2013-02-05 21:22 仗剑奔走天涯 阅读(253) 评论(0) 推荐(0) 编辑

导航