Replies: 16 comments 1 reply
-
“取反”那一节的举例中5的补码应该还是00000101吧,正数补码不是它本身吗? ~5才是11111010,相当于-6 |
Beta Was this translation helpful? Give feedback.
-
@war1111 差集写错了,稍后更新一下 |
Beta Was this translation helpful? Give feedback.
-
http://lijinma.com/blog/2014/05/29/amazing-xor/ 这篇 异或交换律 特性应该补充下 |
Beta Was this translation helpful? Give feedback.
-
@yanjinbin 欢迎 pr~ |
Beta Was this translation helpful? Give feedback.
-
n^0=0?你确定吗? |
Beta Was this translation helpful? Give feedback.
-
请问最后“遍历一个集合的子集”中,x和b的含义是什么? |
Beta Was this translation helpful? Give feedback.
-
题目推荐中的例题无法访问 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
看到有人用 |
Beta Was this translation helpful? Give feedback.
-
@RetownPlato if (a == -1) |
Beta Was this translation helpful? Give feedback.
-
负数的补码是将其对应正数按位取反再加一。 |
Beta Was this translation helpful? Give feedback.
-
hello~方便开一个 pr 修改一下吗 |
Beta Was this translation helpful? Give feedback.
-
建议修改或删除“交换”那一部分代码,如果出现a=b的情况,就会导致两个数均被赋值为0 |
Beta Was this translation helpful? Give feedback.
-
hello, 这样做( 但是由于这样做的指令数似乎并没有直接交换少,因此我们还是决定删去这一部分代码 |
Beta Was this translation helpful? Give feedback.
-
希望(建议)增加高维前缀和的内容 |
Beta Was this translation helpful? Give feedback.
-
https://oi-wiki.org/math/bit/
Beta Was this translation helpful? Give feedback.
All reactions