Merge pull request #1723 from xexyl/hines87

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2023-12-17 12:17:04 -08:00
commit 86b976216f
2 files changed
-31

No files matched your search

-12
View File
@@ -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
-19
View File
@@ -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;}