Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
重複の可能性: Cでビット単位のAND(&)を逆にする方法は?
ビット単位のANDを使用している場合
7758194 & 255 = 114
7758194結果を考えれば、どうすれば元に戻すことができ114ますか?
7758194
114
&演算子は、ビット単位であろうとなかろうと、単純に元に戻すことはできません。
0 & 1 => 0 0 & 0 => 0 1 & 0 => 0
だからあなたはできません。