This website works better with JavaScript
홈
탐색
도움말
로그인
ikachan
/
leetcode-go
Watch
1
Star
1
포크
0
파일
이슈
0
풀 리퀘스트
0
위키
트리:
3a9fcd950e
브랜치
태그
master
leetcode-go
/
leetcode
/
easy
/
371.sum-of-two-integers.go
371.sum-of-two-integers.go
84 B
히스토리
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
}