Merge pull request #1723 from xexyl/hines87
This commit is contained in:
2 files changed
-31
No files matched your search
@@ -19,18 +19,6 @@ make all
|
||||
```
|
||||
|
||||
|
||||
## Alternate code:
|
||||
|
||||
An alternate version of this entry is in [hines.alt.c](hines.alt.c). With older
|
||||
compilers you can try the alt version:
|
||||
|
||||
```sh
|
||||
make alt
|
||||
```
|
||||
|
||||
Use `hines.alt` as you would `hines` above.
|
||||
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
This program was designed to maximize the bother function for
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
main(togo,toog)
|
||||
int togo;
|
||||
char *toog[];
|
||||
{char *ogto, tgoo[80];FILE *ogot; int oogt=0, ootg, otog=79,
|
||||
ottg=1;if ( togo== ottg) goto gogo; goto goog; ggot:
|
||||
if ( fgets( tgoo, otog, ogot)) goto gtgo; goto gott;
|
||||
gtot: exit(); ogtg: ++oogt; goto ogoo; togg: if ( ootg > 0)
|
||||
goto oggt; goto ggot; ogog: if ( !ogot) goto gogo;
|
||||
goto ggto; gtto: printf( "%d goto \'s\n", oogt); goto
|
||||
gtot; oggt: if ( !memcmp( ogto, "goto", 4)) goto otgg;
|
||||
goto gooo; gogo: exit( ottg); tggo: ootg= strlen(tgoo);
|
||||
goto tgog; oogo: --ootg; goto togg; gooo: ++ogto; goto
|
||||
oogo; gott: fclose( ogot); goto gtto; otgg: ogto= ogto +3;
|
||||
goto ogtg; tgog: ootg-=4;goto togg; gtgo: ogto= tgoo;
|
||||
goto tggo; ogoo: ootg-=3;goto gooo; goog: ogot= fopen(
|
||||
toog[ ottg], "r"); goto ogog; ggto: ogto= tgoo; goto
|
||||
ggot;}
|
||||
Reference in new issue
Block a user