一道数学推理题
- 时间:2020-06-24 15:27:04
- 分类:数学世界
- 阅读:152 次
从前有一个土耳其商人,想找一个既聪明又能干的助手,于是便贴出告示。前来报名的有两个人,商人想测验一下这两人谁比较聪明,就给他们出了一道有趣的数学题。
他把这两个人带进一间没有窗户、没有镜子、靠灯光来照明的房子里。商人打开一个盒子,对两人说:“这里面有5顶帽子,2顶是红色的,3顶是黑色的。现在我熄灯,我们3个人每人摸一顶戴在自己的头上,然后把盒子盖上,再点亮灯。请尽快说出自己头上带的是什么颜色的帽子。”
说完,3个人就这样做了。当灯点亮时,两个人都看见商人戴的是红色的帽子。过了一会儿,其中一个人说:“我戴的是黑色的帽子。”这个人猜对了。
此人是怎样猜出来的,你知道吗?
推荐阅读:What are Big4 Tech Companies looking for in the technical interv Design a Moving Average Class for Data Stream 3 Ways to Protect Your Website from Negative SEO Algorithm to Check if A String Matches a Pattern How to Get Free HTTPS Certificates via acme.sh? Algorithm to Replace All ?’s to Avoid Consecutive Repeatin How Does C++ STL min_element, max_element, minmax_element work f Using the External Fan to Cool the Hot AMD Radeon HD 6700 Graphi Algorithms to Compute the Dot Product of Two Sparse Vectors Algorithms to Compute the Largest Time for Given Digits
- 评论列表
-
- 添加评论