Why did I have to declare a long variable for bit mask?

后端 未结 0 1630
滥情空心
滥情空心 2020-12-06 03:43

https://leetcode.com/problems/number-complement/

The following are two valid solutions for this problem, why did I run into an integer overflow in the first solution

相关标签:
回答
  • 消灭零回复
提交回复
热议问题