forked from ioccc-src/winner
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the code before the fixes to the entry that prevented it from working right depending on the compiler and optimiser (where having the optimiser with one compiler would let it work with one and not work with the other but having it disabled would reverse this in the same way) and documented the ways the compilers conflicted for instructional value and entertainment. Updated .gitignore.
- Loading branch information
Showing
5 changed files
with
121 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
marshall | ||
marshall.orig | ||
prog.orig | ||
marshall.alt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
extern int | ||
errno | ||
;char | ||
grrr | ||
;main( r, | ||
argv, argc ) char **argc , | ||
r ; char *argv[];{int P( ); | ||
#define x int i, j,cc[4];printf(" choo choo\n" ) ; | ||
x ;if (P( ! i ) | cc[ ! j ] | ||
& P(j )>2 ? j : i ){* argv[i++ +!-i] | ||
; for (i= 0;; i++ ); | ||
_exit(argv[(int)*argc-2/cc[1*(int)*argc]|-1<<4]);printf("%d",P(""));}} | ||
P ( a ) char a ; { a ; while( a > " B " | ||
/* - by E ricM arsh all- */); } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters