zoukankan      html  css  js  c++  java
  • Where is the missing $1 ?

    Qestion:what happened to the missing dollar?

    This will Mess With Your Head.

      3 men go into a hotel.The man behind the desk said the room is $30,so each of them paid $10 and went into the room.

      A while later,the man behind the desk realized that the room was only $25,so he sent the bellboy to the 3 guys' room with $5.

      On the way,the bellboy couldn't figure out how to split $5 evenly between 3,so he gave each man a $1 and kept the other $2 for himself.

      This means that the 3 men each paid $9 for the room,which is  a total of $27,adding the $2 that the bellboy kept is $29.

      So what happend to the missing $1?

      (joking:Send this to 5 people and the answer will appear on your screen.)

    Answer:

      First of all,let's clear up a misconception here.It doesn't matter how many people you forward this email to --the answer will never appear on your screen,unless someone decide to take pity on you and reply to your email.

      I remember as a child puzzling over this one for a long time before i finally saw through the "trick".

      Believe it or not,the answer is exceedingly simple,and you don't need any advanced mathematics to figure it out.

      What you've got to ask yourself is : if the men paid 27,and the boy took 2 from that,why is the WORLD are you ADDING those two dollars instead of SUBSTRACTING them? 27 PLUS 2 is completely meaningless addition problem.

      The thing that fools you into thinking it's a meaningful problem is the fact that the answer is too close to 30 and you are cultivated to be very sensitive with numbers.so you think it should add up to that.But there's no reason for that addition to add up to anything meaningful,because addition is not a meaningful thing to do with those two numbers in the context of the problem..

      How abt this?:if i gave you twenty-seven dollars,and someone took two away from you,would you the have twenty-nine ? OF COURSE NOT! But that's exactly what the problem writer is trying to get you believe!  :-)

  • 相关阅读:
    Counting Sort and Radix Sort
    Naïve Bayes
    windows c/c++ 代码运行时间,毫秒级
    数学基础:四、树的应用1(利用树结构存储字典表)(待优化)
    数学基础:三、动态规划2(求解凑齐钱的最小张数)
    数学基础:三、动态规划1(求解编辑距离)
    数学基础:二、组合算法(递归)
    数学基础:一、排列算法(递归)
    idea注释模版设置
    幂等性的实现
  • 原文地址:https://www.cnblogs.com/tupx/p/2476111.html
Copyright © 2011-2022 走看看