一些逻辑训练的谜题:娜塔莎、十二点钟和茶

我的同事,娜塔莎喜欢小孩子,就给他们出了一些题。而我在十二点钟和娜塔莎闲谈时,总会为她补充一些,而她也觉得这还不错。到了下午,我们一起喝茶时,我们会把饼干放在鸟笼边,猫头鹰则会将其啄成碎片。我们的生活就是这样悠闲地度过的,和这所大学里的本科生的终日忙碌仿佛处在两个世界,他们没有心情欣赏校园里的建筑多么有艺术感,也看不见柳树和池塘蕴含着十四行诗——就算你不是莎士比亚也可以发现——只等着被抓出来和记录下来,但我们是刚好反过来的。
在这里,我会归纳一些我们设计的,助益于逻辑能力的谜题。
https://telegra.ph/file/e5a74887f5c97e7c5b51c.png
5
分享 2024-04-18

1179 个评论

できました。結論から言いうとあります。以下証明過程
Wentやorの使い方を見逃して、厳密には使い方が問題ありますが。
分かりやすくするためにしました。「そこを理解してくれると嬉しいです。」

If(王明went加拿大){王明went俄罗斯 or 美国}
If(!王明went加拿大){王明went波兰or中国)}
If(王明went中国){王明went英国 and (王明went美国 or 波兰)}
If(王明went波兰){ !王明went瑞典 and (王明went俄罗斯 or 捷克)}
If(王明went美国){王明went瑞典 or俄罗斯)}
If(王明went捷克){王明went加拿大)}
If(王明went俄罗斯){王明went捷克)}
If(!王明went俄罗斯){王明went美国and瑞典}

加拿大3 俄罗斯5 美国4 波兰3 中国2 捷克3 瑞典3 英国1
If(王明went加拿大){王明went俄罗斯 or 美国}
If(王明went加拿大and俄罗斯and  !王明went美国){ 王明went捷克}
If(王明went加拿大and俄罗斯and捷克 !王明went美国){ !王明went加拿大 break;}
If(王明went加拿大and美国 and !王明went俄罗斯){ 王明went瑞典 or俄罗斯}
If(王明went加拿大and美国and瑞典 and !王明went俄罗斯){王明went美国and瑞典 return;}
If(王明went加拿大){王明went瑞典}


If(!王明went加拿大 and 王明went中国){王明went英国 and (王明went美国 or 波兰)}
If(!王明went加拿大 and 王明went中国and英国and美国 ){王明went瑞典 or俄罗斯}
If(!王明went加拿大 and 王明went中国and英国and美国and 俄罗斯){王明went捷克 }
If(!王明went加拿大 and 王明went中国and英国and美国and 俄罗斯and捷克){王明went加拿大 break;}
If(!王明went加拿大 and 王明went中国){ 王明went瑞典 }

If(!王明went加拿大 and 王明went波兰 ){ !王明went瑞典 and (王明went俄罗斯 or 捷克) }
If((!王明went加拿大and瑞典)and 王明went波兰and俄罗斯){ 王明went捷克 break; }
If((!王明went加拿大and瑞典)and 王明went波兰and捷克){王明went加拿大break; }
故にWhatever王明went加拿大 王明 must went瑞典。
王明went加拿大and美国and瑞典
或いは
王明went中国and英国and美国and瑞典
だから王明も必ず美国に行ったことある。

要发言请先登录注册

要发言请先登录注册