Divisor Game LeetCode solution in C++

1
class Solution {
2
public:
3
bool divisorGame(int n) {
4
if (n % 2 == 0) return true;
5
return false;
6
}
7
};

0

WPM •0 •0

100%

ACC •0 •0

0s

TIME •0