Fix 1992/marangon/README.md

This commit is contained in:
Cody Boone Ferguson committed 2023-03-29 10:11:16 -07:00
1 parent b65ebbe3cd
commit fd3da07ecc
1 file changed
+14 -17
+14 -17
View File
@@ -10,32 +10,29 @@
make all make all
### To run ### To run:
./marangon ./marangon
## Judges' comments ## Judges' comments:
The object is to refill the table with 5's, by incrementing The object is to refill the table with 5's, by incrementing or decrementing
or decrementing numbers as needed. It is the side effects numbers as needed. It is the side effects that get you into trouble. If you
that get you into trouble. If you are not careful, you may are not careful, you may find things "at 6's and 7's". :-)
find things "at 6's and 7's". :-)
NOTE: Some compilers have had trouble optimizing this entry. NOTE: Some compilers have had trouble optimizing this entry.
NOTE: Some systems need to compile with -ltermcap as well as -lcurses. NOTE: Some systems need to compile with `-ltermcap` as well as `-lcurses`.
NOTE: The original winning source marangon.orig.c assumed that NOTE: The original winning source `marangon.orig.c`, found in the archive
exit returned a value which cause problems for some directory, assumed that exit returns a value which cause problems for some
systems where exit returned a void. The file marangon.c systems where exit returns a void. The file `marangon.c` avoids this problem.
avoids this problem.
## Author's comments ## Author's comments:
It starts off by creating a table with number 5 in all places. The It starts off by creating a table with number 5 in all places. The CPU melts
CPU melts the numbers and you must return them in original state. the numbers and you must return them in original state. When you increase a
When you increase a number, all the other eight numbers next to it number, all the other eight numbers next to it decrease and vice-versa.
decrease and vice-versa.
## Copyright and CC BY-SA 4.0 License: ## Copyright and CC BY-SA 4.0 License: