LeetCode 326. 3的幂
原题链接:https://leetcode.cn/problems/power-of-three/ 试除法: class Solution { public: bool isPowerOfThree(…