Answer in three lines with recursive functions is preferred and sufficient.
Direct functions are pure math and labor intense to me. I am bad at math.
My initiative is more related to the way of thinking –
“if A and B are both smart, B can just sit back and ‘give up/waive’ ALL HIS RIGHTS!” Understand this sentence is the same important as getting the answer.
“如果A B和閣下一樣聰明,B 從頭到尾無需動用其優先權。 “
Jin's answer is good enough
所有跟帖:
• 回複:Jin's answer is good enough -jinjing- ♀ (7 bytes) () 07/15/2010 postreply 19:41:39
• 回複:Jin's answer is good enough -一川煙雨- ♀ (73 bytes) () 07/16/2010 postreply 14:57:24
• 之後。A先切,然後B決定是否使用優先權。使用,則拿大塊,但失去一次優先權。 -皆兄弟也- ♂ (0 bytes) () 07/16/2010 postreply 19:50:22