摘要:
static has a very simple logic to it. If a variable is static, it means that it is a global variable, but it's scope is limited to where it is defined... 阅读全文
摘要:
这个问题就是OJ题里出现的取石子游戏,http://en.wikipedia.org/wiki/Wythoff%27s_game。维基里面的通项公式并不适用于算法求解。需要理解下面两条规律:1、As is true in general for pairs of Beatty sequences, ... 阅读全文