From bc71a540b73822678d8cd149bcde9423c42877ec Mon Sep 17 00:00:00 2001 From: Blake Lewis Date: Sat, 16 Dec 2023 19:16:26 -0800 Subject: [PATCH] Several problems misstate the range of memory offsets used for buffers --- exercises/practice/acronym/.docs/instructions.append.md | 2 +- exercises/practice/hamming/.docs/instructions.append.md | 2 +- exercises/practice/resistor-color/.docs/instructions.append.md | 2 +- .../practice/rna-transcription/.docs/instructions.append.md | 2 +- exercises/practice/two-fer/.docs/instructions.append.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/exercises/practice/acronym/.docs/instructions.append.md b/exercises/practice/acronym/.docs/instructions.append.md index cb8c428..0739a42 100644 --- a/exercises/practice/acronym/.docs/instructions.append.md +++ b/exercises/practice/acronym/.docs/instructions.append.md @@ -2,6 +2,6 @@ ## Reserved Addresses -The buffer for the input string uses bytes 64-196 of linear memory. +The buffer for the input string uses bytes 64-191 of linear memory. You may modify this buffer in place if you wish to avoid additional memory allocations. diff --git a/exercises/practice/hamming/.docs/instructions.append.md b/exercises/practice/hamming/.docs/instructions.append.md index 4b7eb00..0e2a166 100644 --- a/exercises/practice/hamming/.docs/instructions.append.md +++ b/exercises/practice/hamming/.docs/instructions.append.md @@ -3,6 +3,6 @@ ## Reserved Addresses The buffer for the first string uses bytes 1024-2047 of linear memory. -The buffer for the second string uses bytes 2048-3075 of linear memory. +The buffer for the second string uses bytes 2048-3071 of linear memory. You should not have to modify these buffers or allocate additional memory. diff --git a/exercises/practice/resistor-color/.docs/instructions.append.md b/exercises/practice/resistor-color/.docs/instructions.append.md index 6f69aaa..e7e6d83 100644 --- a/exercises/practice/resistor-color/.docs/instructions.append.md +++ b/exercises/practice/resistor-color/.docs/instructions.append.md @@ -2,7 +2,7 @@ ## Reserved Memory -The buffer for the input string uses bytes 64-189 of linear memory. +The buffer for the input string uses bytes 64-191 of linear memory. ## Arrays diff --git a/exercises/practice/rna-transcription/.docs/instructions.append.md b/exercises/practice/rna-transcription/.docs/instructions.append.md index c51e635..3c50192 100644 --- a/exercises/practice/rna-transcription/.docs/instructions.append.md +++ b/exercises/practice/rna-transcription/.docs/instructions.append.md @@ -2,6 +2,6 @@ ## Reserved Memory -The buffer for the input string uses bytes 64-189 of linear memory. +The buffer for the input string uses bytes 64-191 of linear memory. The input string can be modified in place if desired. diff --git a/exercises/practice/two-fer/.docs/instructions.append.md b/exercises/practice/two-fer/.docs/instructions.append.md index d1f8a40..55eb676 100644 --- a/exercises/practice/two-fer/.docs/instructions.append.md +++ b/exercises/practice/two-fer/.docs/instructions.append.md @@ -2,4 +2,4 @@ ## Reserved Addresses -The buffer for the input string uses bytes 64-192 of linear memory. +The buffer for the input string uses bytes 64-191 of linear memory.