diff --git a/1996/dalbec/README.md b/1996/dalbec/README.md index 86f67d5b6..3e84f5e86 100644 --- a/1996/dalbec/README.md +++ b/1996/dalbec/README.md @@ -1,16 +1,16 @@ # Best Numerical Obfuscation - John Dalbec - 20 Squire's Ct. (home address) - Canfield, OH 44406 - USA - - http://www.math.yale.edu/pub/users/dalbec/ +John Dalbec +20 Squire's Ct. (home address) +Canfield, OH 44406 +USA + ## To build: - make all - +```sh +make all +``` [Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) proposed a fix for this to compile with clang and Landon implemented it after some discussion. The @@ -27,12 +27,15 @@ thanks to Yusuke for confirming the output is correct! ## To run: - ./dalbec +```sh +./dalbec +``` ## Try: - - ./dalbec 3 | head -n 29 +```sh +./dalbec 3 | head -n 29 +``` Why does the output end with 121? @@ -65,25 +68,26 @@ space is roughly proportional to the last number printed. (On SunOS/cc, the proportionality constant is about 48 bytes.) On completion, the program produces a core file that may be used to -refine this estimate. (Or you could try typing "limit" if you're -running `csh`.) In rare cases the stack space may exceed `24*MAXINT` +refine this estimate. (Or you could try typing `limit` if you're +running `csh`.) In rare cases the stack space may exceed `24*INT_MAX` bytes, in which case the program will produce an inaccurate estimate. -This program is obfuscated: +This program is obfuscated by: -1. by the use of easily-confused variable names +1. The use of easily-confused variable names. -2. by using the implicit !=0 in conditional expressions +2. Using the implicit `!=0` in conditional expressions. -3. by substituting expressions such as !a for 0 where a!=0 and !a for 1 where a==0 +3. Substituting expressions such as `!a` for `0` where `a!=0` and `!a` for `1` +where `a==0`. -4. by the fact that main() is a single expression and so beautifies poorly +4. The fact that `main()` is a single expression and so beautifies poorly. -5. by the fact that main() is used +5. The fact that `main()` is used: - - to compute powers in modular arithmetic + - to compute powers in modular arithmetic. - - to recursively call itself in the main loop + - to recursively call itself in the main loop. ## Copyright and CC BY-SA 4.0 License: diff --git a/2004/jdalbec/README.md b/2004/jdalbec/README.md index 9e4da749e..8ec54ef44 100644 --- a/2004/jdalbec/README.md +++ b/2004/jdalbec/README.md @@ -1,11 +1,10 @@ # Best Abuse of the Periodic Table - John Dalbec - 20 Squire's Ct. - Canfield OH 44406 - USA - - http://cc.ysu.edu/~jpdalbec/ +John Dalbec +20 Squire's Ct. +Canfield OH 44406 +USA + ## To build: @@ -37,8 +36,8 @@ it's the first atomic fission we've seen in the IOCCC. It's elementary! -See http://mathworld.wolfram.com/LookandSaySequence.html, -http://mathworld.wolfram.com/CosmologicalTheorem.html, +See , +, and the references listed there. Go read the web pages and come back. diff --git a/tmp/winners.csv b/tmp/winners.csv index 2ee28b281..2c81a2841 100644 --- a/tmp/winners.csv +++ b/tmp/winners.csv @@ -99,7 +99,7 @@ Jeff Weisberg,Jeff_Weisberg,http://www.op.net/~jaw,null,jaw@op.net,null,null); Jens Schweikhardt,Jens_Schweikhardt,http://www.schweikhardt.net,null,schweikh@schweikhardt.net,null,null); Jetro Lauha,Jetro_Lauha,http://jet.ro,null,null,FI,null); Jim Hague,Jim_Hague,http://www.oxinet.co.uk/jim,null,bears@cix.compulink.co.uk,null,null); -John Dalbec,John_Dalbec,http://cc.ysu.edu/~jpdalbec/,null,jdalbec@cboss.com,null,null); +John Dalbec,John_Dalbec,https://jpdalbec.people.ysu.edu,null,jdalbec@cboss.com,null,null); John Tromp,John_Tromp,http://tromp.github.io/,null,john.tromp@gmail.com,null,null); John Williams,John_Williams,null,null,williams@morinda.com,null,null); Jon Thingvold,Jon_Thingvold,null,null,jon.thingvold@usit.uio.no,null,null); diff --git a/winners.html b/winners.html index 0cb3a5ffb..068e51ce6 100644 --- a/winners.html +++ b/winners.html @@ -313,7 +313,7 @@ Contest