Re: [問題] Brain Storming
※ 引述《miriamhsiao (小美)》之銘言:
: You are invited to the Cat Kingdom for the coronation.
: They offered the King 8 identical-looking crowns to choose from.
: Seven of them weigh the same, and the only one weighs slightly less.
: The King wants the light one.
: You have to help him to find out the light one. But you can only use
: balance scales in ONLY TWO weighings. What do you do then?
一邊各放三個王冠秤第一次
如果兩邊等重 表示較輕的在剩下兩個裡面 這兩個再秤第二次即可
如果兩邊不等重 一邊高一邊低 表示較輕的王冠在較高的那一邊歸為a組(有3頂)
換句話說 較低的那邊3個王冠和沒秤到的2個王冠都一樣重
接著從a組裡任取兩頂去秤第二次
如過一樣重表示剩的一頂就是較輕的
如果不一樣重則較輕的那頂就是答案
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.224.69.37
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):