Minor updates to 1990

Add thank you note to Cody in some README.md files, remove the warning
that 1990/westley/westley.c might not compile with modern compilers
(since I fixed it) and reworded a statement slightly. Yes I'm thanking
myself but it's actually from the judges.
This commit is contained in:
Cody Boone Ferguson committed 2023-03-16 10:12:25 -07:00
1 parent 90f5854290
commit 3019afc432
3 files changed
+9 -7

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@
make all
NOTE: that's not a typo but one can also do:
NOTE: that's not a typo or mistake but one can also do:
./o
+5 -4
View File
@@ -17,10 +17,15 @@
make all
NOTE: modern compilers had a problem with this entry because the `exit(3)`
function returns void but [Cody Boone Ferguson](/winners#Cody_Boone_Ferguson)
got it to work with the use of a comma operator. Thank you Cody!
### To run
./tbr
## Judges' comments
@@ -46,10 +51,6 @@ of the program which we include below:
e(x){x<0?write(2,"?\n$ "-x/4,2),x+1||(exit(1),0):5;}
Modern compilers had a problem with this entry because the exit(3) function
returns void but we were able to get it to compile by using the comma
operator which we also did in the smaller version.
## Author's comments
+3 -2
View File
@@ -10,12 +10,13 @@
make all
NOTE: This entry might not compile when using modern compilers.
### To run
./westley 1
NOTE: [Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this to
compile under modern systems. Thank you Cody for your assistance!
NOTE: this entry will segfault without an arg and will enter an infinite loop if
input is not a number (or is a negative number).