Forget to add a condtion of stopping taking: when the # you take



所有跟贴·加跟贴·新语丝读书论坛http://www.xys.org/cgi-bin/mainpage.pl

送交者: mangolasi 于 2006-3-04, 13:28:05:

回答: hmm, not a general formula yet, but for the first step: 由 mangolasi 于 2006-3-04, 13:22:15:

is 1 larger than the # remain. Like in 11, stop taking away when you need to take 6 out of 11 (i.e. 5 remains).



所有跟贴:


加跟贴

笔名: 密码(可选项): 注册笔名请按这里

标题:

内容(可选项):

URL(可选项):
URL标题(可选项):
图像(可选项):


所有跟贴·加跟贴·新语丝读书论坛http://www.xys.org/cgi-bin/mainpage.pl