Bootstrap

Java | Leetcode Java题解之第326题3的幂

题目:

题解:

class Solution {
    public boolean isPowerOfThree(int n) {
        return n > 0 && 1162261467 % n == 0;
    }
}
;