mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 20:55:44 +01:00
be clear about the form the answer should come in
This commit is contained in:
parent
aa321e3305
commit
bcc53c48a7
@ -1260,7 +1260,8 @@ export const codingContractTypesMetadata: ICodingContractTypeMetadata[] = [
|
||||
"Convert it to a binary representation and encode it as an 'extended Hamming code'. Eg:\n ",
|
||||
"Value 8 is expressed in binary as '1000', which will be encoded",
|
||||
"with the pattern 'pppdpddd', where p is a parity bit and d a data bit,\n",
|
||||
"or '10101' (Value 21) will result into (pppdpdddpd) '1001101011'.\n\n",
|
||||
"or '10101' (Value 21) will result into (pppdpdddpd) '1001101011'.\n",
|
||||
"The answer should be given as a string containing only 1s and 0s.\n",
|
||||
"NOTE: the endianness of the data bits is reversed in relation to the endianness of the parity bits.\n",
|
||||
"NOTE: The bit at index zero is the overall parity bit, this should be set last.\n",
|
||||
"NOTE 2: You should watch the Hamming Code video from 3Blue1Brown, which explains the 'rule' of encoding,",
|
||||
|
Loading…
Reference in New Issue
Block a user