1.TOYS
双语描述:
Calculate the number of toys that land in each bin of a partitioned toy box.
计算一个分区玩具箱每个箱子里的玩具数量。
Mom and dad have a problem - their child John never puts his toys away when he is finished playing with them. They gave John a rectangular box to put his toys in, but John is rebellious and obeys his parents by simply throwing his toys into the box. All the toys get mixed up, and it is impossible for John to find his favorite toys.
妈妈和爸爸有一个问题-他们的孩子约翰从来没有把他的玩具,当他结束了与他们玩。他们给约翰一个长方形的盒子,把他的玩具放在里面,但是约翰很叛逆,服从他的父母,只是把他的玩具扔到盒子里。所有的玩具都搞混了,约翰不可能找到他最喜欢的玩具。
John‘s parents came up with the following idea. They put cardboard partitions into the box. Even if John keeps throwing his toys into the box, at least toys that get thrown into different bins stay separated. The following diagram shows a top view of an example toy box.
约翰的父母想出了如下主意。他们在盒子里放了硬纸板隔板。即使约翰不停地把玩具扔到盒子里,至少把玩具扔进不同的垃圾箱会被分开。下图显示了示例玩具盒的俯视图。
For this problem, you are asked to determine how many toys fall into each partition as John throws them into the toy box.
对于这个问题,你被要求确定有多少玩具落入每个分区,当约翰把它们扔到玩具盒里时。