Nim Game

来源:互联网 发布:子域名扫描工具 编辑:程序博客网 时间:2024/05/29 12:17

这个不想说啥了。。。数学游戏,是不是4的倍数

public class Solution {    public boolean canWinNim(int n) {        return n%4 != 0;    }}


0 0
原创粉丝点击