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.
我知道一个 n 位字有 2**n 个选项。我想知道是否可以计算所有选项,以便每次打开或关闭单个位。
您正在寻找格雷码。