This website works better with JavaScript
首頁
探索
說明
登入
ikachan
/
leetcode-go
關注
1
讚好
1
複刻
0
檔案
問題管理
0
合併請求
0
Wiki
目錄樹:
cfdbb83721
分支列表
標籤列表
master
leetcode-go
/
leetcode
/
easy
/
371.sum-of-two-integers.go
371.sum-of-two-integers.go
84 B
文件歷史
原始文件
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
}