随笔分类 - spoj
摘要:SUBSUMS Subset Sums Given a sequence of N (1 ≤ N ≤ 34) numbers S1, ..., SN ( 20,000,000 ≤ Si ≤ 20,000,000), determine how many subsets of S (including
阅读全文
摘要:ACTIV Activities Ana likes many activities. She likes acrobatics, alchemy, archery, art, Arabic dances, and many more. She joined a club that offers s
阅读全文
摘要:spoj ABCDEF ABCDEF ABCDEF You are given a set S of integers between 30000 and 30000 (inclusive). Find the total number of sextuples $(a,b,c,d,e,f):a,b
阅读全文