Surprised => indulgence => Calm => Lost => Panic =>Calm

算法-每天一道题(29)-371. Sum of Two Integers-进制转换

算法 admin 1051℃ 0评论

Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.

Example:

Given a = 1 and b = 2, return 3.

另一种简单的算法

参考地址:http://www.cnblogs.com/grandyang/p/5631814.html

转载请注明:Imekaku-Blog » 算法-每天一道题(29)-371. Sum of Two Integers-进制转换

喜欢 (0)or分享 (0)
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址