Albert and Bernard just become friends with Cheryl, and they want to know when her birthday is. Cheryl gives them a list of 10 possible dates.
May 15, May 16, May 19,
June 17, June 18,
July 14, July 16,
August 14, August 15, August 17
Cheryl then tells Albert and Bernard separately the month and the day of her birthday respectively.
Albert: I don't know when Cheryl's birthday is, but I know that Bernard does not know too.
Bernard: At first I don't know when Cheryl's birthday is, but I know now.
Albert: Then I also know when Cheryl's birthday is.
So when is Cheryl's birthday?
這是新加坡一題中學生數學考題,需要靠邏輯推理解題,大家想想看。
受日本網友啟發創作「幾何光束︱GeoRay」
-
「幾何光束」從起意到製作完成,只有短短的兩三天時間。期間還經歷了quanAI因超額而不能用了,好在claude免費版的數學和寫代碼能力也是超強的。
直接把玩: georay.ejsoon.top
當我在某論壇上見到這位日本朋友做的一款在圓內分割的遊戲,我就萌生了做這款遊戲的想法。很快在AI的幫助下,這個想法變...
16 小時前

July16
回覆刪除第一句排除5、6月
第二句排除14、18、19號
第一輪交談過後,算算只剩下7.16,8.15,8.17三天
第三句過後,結果是二人皆知,故排除8月,因其有兩天,如只知道月份則不能確定是哪天。
(這題有不少變式,有些還加上了文字遊戲,很有意思。)
正解,這題目推理有其難度,能答得出來不簡單。
回覆刪除第三句可以改成:But I still don't know.
回覆刪除第四句:You should know that later.
第五句:Thanks, you are very kind.
嗯,這個改編不錯,讓我記下來
刪除Albert: But I still don't know.
Bernard: You should know that later.
Albert: Thanks, you are very kind.