This website works better with JavaScript
Inicio
Explorar
Ayuda
Iniciar sesión
ikachan
/
leetcode-go
Seguir
1
Destacar
1
Fork
0
Archivos
Incidencias
0
Pull Requests
0
Wiki
Árbol:
d0b9e3d14e
Ramas
Etiquetas
master
leetcode-go
/
leetcode
/
easy
/
371.sum-of-two-integers.go
371.sum-of-two-integers.go
84 B
Histórico
Raw
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
}