r*****t 发帖数: 286 | 1 ☆─────────────────────────────────────☆
Memo (随便) 于 (Mon Feb 5 22:43:44 2007) 提到:
An interview question: What is the smallest number
that cannot be written as the sum of 6, 9, and 20, yet
any integers above the number can be written as the
sum of the three numbers? (Note: the three numbers can
be repeated as many times as needed.)
For example, 55 = 20 + 20 + 9 + 6, yet 11 can not be
written as the sum of any combination of 6, 9 and 20.
However, 11 is not the answer because 13 cannot be
exp |
|