作者childwen (呵呵)
看板puzzle
标题[问题] Death by chocolate
时间Tue Mar 15 16:40:50 2011
You are locked in a room with your worst enemy. On a table
in the centre of the room is a bar of chocolate, divided
into squares in the usual way. One square of the chocolate
is painted with a bright green paint that contains a deadly
nerve poison. You and your enemy take it in turns to break
off one or more squares from the remaining chocolate (along
a straight line) and eat them. Whoever is left with the
green square must eat it and die in agony. You may look at
the bar of chocolate and then decide whether to go first or
second. Describe your strategy.
试翻译:
有一大块巧克力 能切割成好几小块 (像普通nxm的长方形)
但其中一小块呈现绿色是有毒的
你和敌人轮流剥下一小块或多块巧克力(along a straight line)
最後谁吃到有毒的就会死
现在你能看看巧克力 并决定谁先剥才能让你活下来 解释你的策略
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.38.68.137
1F:→ penguin7272:直觉是个弄成正方形 03/15 22:16
2F:推 northkk:以毒巧克力为中心, 向直及横分别延伸 03/15 22:20
3F:→ northkk:若是直向两边剩下的排数相同, 且横向亦然, 选後手 03/15 22:21
4F:→ northkk:若两边都不对称, 也选後手 03/15 22:22
5F:→ northkk:若一边对称一边不对称, 则先手, 先把它搞成两边都对称 03/15 22:22
6F:→ northkk:不过两边都不对称应该还有条件要先手, 但我要去睡觉了.... 03/15 22:23
7F:→ childwen:我看到网路上有人讨论答案是说 若有偶数个 就选择自己先 03/16 00:09
8F:→ childwen:若有奇数个 则让对方先 但我不懂为什麽@@ 03/16 00:09
9F:推 LPH66:楼上的答案显然是以为任何时候都可以只剥下一块才得到的.. 03/16 02:51
10F:→ LPH66:话说这不就是个四堆的 Nim (拿最後一个获胜) 这样吗 @_@" 03/16 02:52
11F:→ puzzlez:我一直看不懂题目。那我可以只留下那块绿的,其余全拿走? 03/16 07:15
12F:→ puzzlez:哦...看完北叔的...我大概懂了.....其实上下左右皆不对称 03/16 07:19
13F:→ puzzlez:也是很简单地~ 03/16 07:19