leetcode 292
1 class Solution { 2 public: 3 bool canWinNim(int n) { 4 int a,b; 5 bool ok=true; 6 if(n%4==0) 7 ok=false; 8 return ok; 9 } 10 };
1 class Solution { 2 public: 3 bool canWinNim(int n) { 4 int a,b; 5 bool ok=true; 6 if(n%4==0) 7 ok=false; 8 return ok; 9 } 10 };