mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
CONTRACT: Fix incorrect description of Hamming Codes in Integer to Encoded Binary. (#1677)
This commit is contained in:
@@ -1270,7 +1270,7 @@ export const codingContractTypesMetadata: CodingContractType<any>[] = [
|
||||
"A parity bit is inserted at position 0 and at every position N where N is a power of 2.\n",
|
||||
"Parity bits are used to make the total number of '1' bits in a given set of data even.\n",
|
||||
"The parity bit at position 0 considers all bits including parity bits.\n",
|
||||
"Each parity bit at position 2^N alternately considers N bits then ignores N bits, starting at position 2^N.\n",
|
||||
"Each parity bit at position 2^N alternately considers 2^N bits then ignores 2^N bits, starting at position 2^N.\n",
|
||||
"The endianness of the parity bits is reversed compared to the endianness of the data bits:\n",
|
||||
"Data bits are encoded most significant bit first and the parity bits encoded least significant bit first.\n",
|
||||
"The parity bit at position 0 is set last.\n\n",
|
||||
|
||||
Reference in New Issue
Block a user