美文网首页
371. Sum of Two Integers

371. Sum of Two Integers

作者: 我是你的果果呀 | 来源:发表于2016-12-04 04:44 被阅读0次

Calculate the sum of two integersaandb, but you arenot allowedto use the operator+and-.

Example:

Givena= 1 andb= 2, return 3.

位运算真的很神奇, 但就是整不明白。。。。

相关文章

网友评论

      本文标题:371. Sum of Two Integers

      本文链接:https://www.haomeiwen.com/subject/uqqhmttx.html