- C++
将一个数+1或-1的方法
- 2024-12-8 16:25:43 @
众所周知 ~x = (-x) - 1 由此推断:
-(~x) = x + 1 且 ~(-x) = x - 1
0 comments
No comments so far...
By signing up a 美力程青少儿编程 universal account, you can submit code and join discussions in all online judging services provided by us.