Skip to content

Commit

Permalink
grains exercise docs improvement
Browse files Browse the repository at this point in the history
Co-authored-by: András B Nagy <20251272+BNAndras@users.noreply.github.com>
  • Loading branch information
GroophyLifefor and BNAndras authored Sep 20, 2024
1 parent cf4c2b4 commit ba0a5b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exercises/practice/grains/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Independent of other languages

Batch supports only up to 31 bits so we need to use a different approach to solve, Instead of writing code according to the range 1 to 64, the range `1 to 31` is important for us.
However, the king ran out of grains to give the servant after day 31 since 1,073,741,824 grains is approximately 54 metric tons.
As a 32-bit language, Batch can't represent the number of grains past this point.

0 comments on commit ba0a5b5

Please sign in to comment.