In C++ What does this give out j-= j & (-j) when j=1?

前端 未结 0 827
粉色の甜心
粉色の甜心 2021-02-06 14:55

I dont understand how that ampersand works in this."Count inversions in an array | Set 3 (Using BIT) - GeeksforGeeks" https://www.geeksforgeeks.org/count-inversions-a

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