数学题 芜湖
java:
class Solution {
public boolean canWinNim(int n) {
return n % 4 !=0;
}
}
python3:
class Solution:
def canWinNim(self, n: int) -> bool:
return n % 4 != 0
数学题 芜湖
java:
class Solution {
public boolean canWinNim(int n) {
return n % 4 !=0;
}
}
python3:
class Solution:
def canWinNim(self, n: int) -> bool:
return n % 4 != 0