This website works better with JavaScript
ホーム
エクスプローラ
ヘルプ
サインイン
ikachan
/
leetcode-go
ウォッチ
1
スター
1
フォーク
0
ファイル
課題
0
プルリクエスト
0
Wiki
ツリー:
fad99dfa11
ブランチ
タグ
master
leetcode-go
/
leetcode
/
easy
/
342.power-of-four.go
342.power-of-four.go
93 B
履歴
Raw
1
2
3
func isPowerOfFour(num int) bool {
return (num & (num-1) == 0) && (num & 0x55555555 != 0)
}