标签:div get poweroff .com public logs ret ref script
public class Solution { public bool IsPowerOfFour(int num) { return (num > 0) && ((num & (num - 1)) == 0) && ((num & 0x55555555) == num); } }
https://leetcode.com/problems/power-of-four/#/description
标签:div get poweroff .com public logs ret ref script
原文地址:http://www.cnblogs.com/asenyang/p/6741814.html