This website works better with JavaScript
Ana Sayfa
Keşfet
Yardım
Giriş Yap
ikachan
/
leetcode-go
İzle
1
Yıldızla
1
Çatalla
0
Dosyalar
Sorunlar
0
Değişiklik İstekleri
0
Wiki
Ağaç:
cfdbb83721
Dallar
Biçim İmleri
master
leetcode-go
/
leetcode
/
easy
/
371.sum-of-two-integers.go
371.sum-of-two-integers.go
84 B
Geçmiş
Ham
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
}