忘记邻居
Forgetting Neighbor
题目详情
你的邻居有 孩子,但你总是忘记他们多大了。不过你知道他们的年龄都不一样,最大的最多岁,最小的至少岁。他们的年龄有多少种可能?
Your neighbor has children and you always forget how old they are. However, you know their ages are all different, and the oldest is at most years old while the youngest is at least . How many possibilities are there for their ages?
解析
三个孩子的年龄是 中互不相同的 3 个整数。该集合共有 9 个可能年龄,因此可能性总数为
Original Explanation
The ages are distinct integers in . There are possible ages, so the number of ways to choose distinct ages is