Merge pull request #76 from xexyl/1996-gandalf
This commit is contained in:
2 files changed
+16
-12
No files matched your search
+14
-9
@@ -14,33 +14,38 @@
|
||||
|
||||
make all
|
||||
|
||||
NOTE: This entry might not compile when using modern compilers.
|
||||
NOTE: [Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) fixed this to
|
||||
compile with modern systems. As he loved the references in the code that could
|
||||
not compile he just commented it out (as little as possible). Thank you Cody for
|
||||
your assistance!
|
||||
|
||||
### To run
|
||||
|
||||
./gandalf
|
||||
|
||||
## Judges' comments
|
||||
## Try:
|
||||
|
||||
Also try:
|
||||
|
||||
PATH=.:$PATH
|
||||
./hatcat
|
||||
./cathat
|
||||
|
||||
And next try:
|
||||
And next try:
|
||||
|
||||
./cathat
|
||||
`pwd`/cathat
|
||||
|
||||
Care to guess why these execute differently? Only the
|
||||
compiler knows ... ok maybe other things like the author,
|
||||
the judges and maybe you too?
|
||||
Care to guess why these execute differently? Only the
|
||||
compiler knows ... ok maybe other things like the author,
|
||||
the judges and maybe you too?
|
||||
|
||||
## Judges' comments
|
||||
|
||||
For mis-leading C pre-processor output, try:
|
||||
|
||||
For mis-leading C pre-processor output, try:
|
||||
|
||||
cc -E gandalf.c
|
||||
|
||||
## Author's comments
|
||||
|
||||
The program requires an ASCII system.
|
||||
The program requires an ASCII system.
|
||||
@@ -2,14 +2,14 @@
|
||||
#define de #define
|
||||
#define do de
|
||||
|
||||
do { begin
|
||||
/*do { begin
|
||||
do you like (green eggs and ham++)?
|
||||
do you eat them: in a box?
|
||||
do you eat them with a fox?0
|
||||
do } end
|
||||
|
||||
fine
|
||||
fine, just fine.
|
||||
fine, just fine. */
|
||||
|
||||
/*@@@@@@@@@@@@=___
|
||||
/@@@@@@@@@@@@@@@@@@@a
|
||||
@@ -53,7 +53,6 @@ fine, just fine.
|
||||
"\n");}main(a
|
||||
,b)int a;
|
||||
char **b ;{int x=2;
|
||||
do(x=0;x<4;x++)exit(0);
|
||||
for(grem();x<1<<3+(int)b[0]
|
||||
[0]%2;)cred (++x-1);}
|
||||
|
||||
Reference in new issue
Block a user