日历方块
Calendar Cubes
题目详情
有两个定制立方体。你要在它们的 12 个面上写数字(0–9,可重复),使得通过摆放/交换两个立方体,可以显示 01 到 31 的所有日期(1–9 需显示为 01–09)。
问:应如何给两个立方体标数字?
You have two custom-made cubes, and you want to put digits (0–9) on their faces so that you can form all dates from 01 to 31 by arranging and/or swapping the cubes. Days 1–9 must be shown as 01–09. How do you label each cube?
解析
一种可行标法:
- 立方体 A:{0,1,2,3,4,5}
- 立方体 B:{0,1,2,6,7,8}
其中 6 倒过来可当作 9 使用,因此可以组合出 01–31。
Original Explanation
Label one cube with the digits {0, 1, 2, 3, 4, 5} and the other with {0, 1, 2, 6, 7, 8}. The digit 6 can serve as 9 when turned upside down, allowing all dates from 01 to 31.