码迷,mamicode.com
首页 > 其他好文 > 详细

计算几何-点、线、面、形

时间:2018-02-12 15:16:12      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:gif   angular   car   描述   几何   lap   box   sed   oar   

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.
对于这个问题,你被要求确定有多少玩具落入每个分区,当约翰把它们扔到玩具盒里时。
View Code

 

计算几何-点、线、面、形

标签:gif   angular   car   描述   几何   lap   box   sed   oar   

原文地址:https://www.cnblogs.com/TQCAI/p/8444263.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!