This website works better with JavaScript
Página Principal
Explorar
Ajuda
Iniciar Sessão
ikachan
/
leetcode-go
Vigiar
1
Colocar Estrela
1
Fork
0
Ficheiros
Problemas
0
Pull Requests
0
Wiki
Árvore:
514ec075d8
Ramos
Etiquetas
master
leetcode-go
/
leetcode
/
easy
/
342.power-of-four.go
342.power-of-four.go
93 B
Histórico
Em bruto
1
2
3
func isPowerOfFour(num int) bool {
return (num & (num-1) == 0) && (num & 0x55555555 != 0)
}