Xiaohe-LeetCode 292 Nim Game

public class Solution {
  public boolean canWinNim(int n) {

    if(n%4==0)
    return false;
    return true;
  }
}

posted @ 2015-11-22 10:16  CathyXiaohe  阅读(109)  评论(0编辑  收藏  举报