摘要: ORDERS Ordering the Soldiers As you are probably well aware, in Byteland it is always the military officer's main worry to order his soldiers on parad 阅读全文
posted @ 2017-03-30 18:21 sCjTyC 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2017-03-30 18:13 sCjTyC 阅读(326) 评论(0) 推荐(0) 编辑
摘要: ACTIV Activities Ana likes many activities. She likes acrobatics, alchemy, archery, art, Arabic dances, and many more. She joined a club that offers s 阅读全文
posted @ 2017-03-30 17:29 sCjTyC 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2017-03-30 17:20 sCjTyC 阅读(265) 评论(0) 推荐(0) 编辑