From 11636ceeed197ca434cbea12c9bd7c38f303cfbc Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Sat, 2 Aug 2025 14:56:35 -0700 Subject: [PATCH] Fix number of gotos in 2024/ferguson1 There actually are 134 post cpp - not 130. --- 2024/ferguson1/README.md | 6 +++--- 2024/ferguson1/index.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/2024/ferguson1/README.md b/2024/ferguson1/README.md index 13bfb3351..92e3492f5 100644 --- a/2024/ferguson1/README.md +++ b/2024/ferguson1/README.md @@ -39,7 +39,7 @@ ## Judges' remarks: You will have to go to "Fun-Damentals" to understand the logic flow of -this game. While you jump as many as 130 times to travel from `main()` +this game. While you jump as many as 134 times to travel from `main()` to an successful `exit(666)` you may have a devil of a time trying to figure out how this program actually does what it does. @@ -55,7 +55,7 @@ inside this C code. :-)
-### A Pact With the Devil On the Oregon Trail (...and his 130 regrets of goto) +### A Pact With the Devil On the Oregon Trail (...and his 134 regrets of goto)
The **Go To Hell In A Handcart Travel Company** PROUDLY welcomes all sinners to @@ -2447,7 +2447,7 @@ really does not seem to be dead (it's quite sneaky). I could be wrong on whether this is one the compiler missed though: it's hard to follow all the `goto`s. As you find out in [obfuscation.html](obfuscation.html) it's -130 after pre-processing! Yes I might be mad. But then again I might just be +134 after pre-processing! Yes I might be mad. But then again I might just be the Devil. Who knows? What I do know is code that is meant to be reached is reached! Yes I've played it many times. Some code I made dead seemed totally useless but why not add to confusion? If that includes one that the compiler diff --git a/2024/ferguson1/index.html b/2024/ferguson1/index.html index aac63b298..176f6571d 100644 --- a/2024/ferguson1/index.html +++ b/2024/ferguson1/index.html @@ -485,7 +485,7 @@ Location: US - United States of America
    ./prog.alt

Judges’ remarks:

You will have to go to “Fun-Damentals” to understand the logic flow of -this game. While you jump as many as 130 times to travel from main() +this game. While you jump as many as 134 times to travel from main() to an successful exit(666) you may have a devil of a time trying to figure out how this program actually does what it does.

Before you set off on your adventure to decode this program’s logic, make @@ -496,7 +496,7 @@ how well prepared you are, you will have a devil of a time jumping around inside this C code. :-)

Author’s remarks:

-

A Pact With the Devil On the Oregon Trail (…and his 130 regrets of goto)

+

A Pact With the Devil On the Oregon Trail (…and his 134 regrets of goto)

The Go To Hell In A Handcart Travel Company PROUDLY welcomes all sinners to our GREATEST destination yet, with:

@@ -2440,7 +2440,7 @@ might be one that the compiler does not trigger a dead code warning on. It really does not seem to be dead (it’s quite sneaky).

I could be wrong on whether this is one the compiler missed though: it’s hard to follow all the gotos. As you find out in obfuscation.html it’s -130 after pre-processing! Yes I might be mad. But then again I might just be +134 after pre-processing! Yes I might be mad. But then again I might just be the Devil. Who knows? What I do know is code that is meant to be reached is reached! Yes I’ve played it many times. Some code I made dead seemed totally useless but why not add to confusion? If that includes one that the compiler