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
/
371.sum-of-two-integers.go
371.sum-of-two-integers.go
84 B
Histórico
Em bruto
1
2
3
4
5
6
func getSum(a int, b int) int {
for b != 0 {
a, b = a^b, (a&b)<<1
}
return a
}