Add crash warning to 1989/robison

With invalid digits the program will crash. This was never fixed (nor
should it be) but never noted either.
This commit is contained in:
Cody Boone Ferguson committed 2023-04-07 10:57:11 -07:00
1 parent b1e1b3f7f9
commit 2d7cfef50c
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -132,7 +132,7 @@ all: data ${TARGET}
supernova deep_magic magic charon pluto
${PROG}: ${PROG}.c
@echo "NOTE: This entry will likely dump core on invalid input."
@echo "NOTE: this entry will crash with numbers with non binary digits."
${CC} ${CFLAGS} $< -o $@ ${LIBS}
# alternative executable
+2
View File
@@ -37,6 +37,8 @@ Yusuke!
echo 100 / 100 | ./robison # <-- what happens here ?
NOTE: this entry will crash with numbers with non binary digits.
## Judges' comments:
Sites with punch card facilities will be happy to note that