随笔分类 - SRM
摘要:Problem Statement Definition Limits Constraints Examples 题意:从1到100挑出K个数字,挑出的数字可正可负,求一种总和不为N的方案. 分析:如果N为奇数,那么选前K个最小的偶数一定不会组成奇数.类似的,如果N不是3的倍数,那么选择前K个最小的
阅读全文
摘要:Problem Statement You are a genealogist specializing in family trees of vampires. Vampire family trees differ from human family trees. In particular,
阅读全文
摘要:Problem Statement Cat Noku has just finished writing his first computer program. Noku's computer has m memory cells. The cells have addresses 0 throug
阅读全文

浙公网安备 33010602011771号