1 static int wing=[]()
 2 {
 3     std::ios::sync_with_stdio(false);
 4     cin.tie(NULL);
 5     return 0;
 6 }();
 7 
 8 class Solution 
 9 {
10 public:
11     bool canWinNim(int n) 
12     {
13         return n%4;
14     }
15 };

只要石头数量不是4的倍数就能赢

posted on 2018-05-25 16:31  高数考了59  阅读(92)  评论(0)    收藏  举报