分类: 算法题

48 篇文章

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