作者windhsu (小太极)
看板Inference
标题Re: [请益] 小小逻辑问题
时间Sun Oct 4 16:32:36 2009
※ 引述《aurorafox (极光。狐)》之铭言:
: 小小逻辑问题 是老师给的课後小练习
: 虽然老师下周会公布答案可是想麻烦大家帮忙检查自己想法正确与否0rz
有趣,我试着解解看
: Logic Puzzles – Determine A and B.
: knight : always tell truth
: knave : always tell lie
: 1. A says “The two of us are both knights” and B says we are in
: opposite sides.
1的情况=>A是KNIGHT,B是KNAVE=>A说谎,B说实话=>逻辑出错。
=>AB都是KNIGHT=>AB冲突=>逻辑出错。
=>A是KNAVE,B是KNIGHT=>通过
=>A和B都是KNAVE=>B说了实话=>逻辑出错。
得A是KNAVE,B是KNIGHT
修正:AB都是KNAVE有可能。
: 这题答案应该有两个?
: 我画表以後结论
: A and B are both knaves. 或是B is a knight, and A is a knave.好像都对
: 2. A says “We are both knaves” and B says nothing.
: 不太懂says nothing应该怎样解释...
: 是当作皆正确还是无法当作前提所以导不出结论?
: 如果是前者那跟1的答案一样啊...
2的情况=>A是KNIGHT,B是KNAVE=>A说谎=>逻辑出错
=>AB都是KNIGHT=>A说谎=>逻辑出错
=>A是KNAVE,B是KNIGHT=>在B是KNIGHT的情况下通过
=>AB都是KNAVE=>A说了实话=>逻辑出错
得A是KNAVE,B是KNIGHT
应该是这样啦
--
I'M THE BEST THERE IS AT WHAT I DO, BUT WHAT I DO ISN'T VERY NICE.
在做这档子事的人当中,我是最顶尖的,但是这档子事却很糟糕。
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 219.85.3.223
※ 编辑: windhsu 来自: 219.85.3.223 (10/04 18:18)