Merge pull request #189 from xexyl/24f1g
This commit is contained in:
2 files changed
+10
-8
No files matched your search
@@ -64,11 +64,12 @@ inside this C code. :-)
|
||||
> Fun fact: after winning this, the author played the game in gdb from start to
|
||||
finish and not counting macros but counting all function calls (not libc
|
||||
functions just the few functions in prog.c), there were a total of **985** (!)
|
||||
line jumps. Skipping prog.c function calls and it's still **776** jumps! The
|
||||
line jumps. Skipping prog.c function calls and it was still **776** jumps! The
|
||||
prog.c, if you remove `#include`s, blank lines, lines with just a brace and
|
||||
lines that have only variables, has only 59 lines of code. A very tiny fraction
|
||||
of the time a line might be repeated in a row ONCE but that does not really
|
||||
matter.
|
||||
lines that have only variables, **has just 59 (!) lines of code**. A very tiny
|
||||
fraction of the time a line might be repeated in a row ONCE but that does not
|
||||
really matter. The [maxed out goto
|
||||
version](%%REPO_URL%%/2024/ferguson1/prog.goto.max.c) is far worse.
|
||||
|
||||
**NOTE**: I actually submitted two versions. This one is not encrypted. The
|
||||
encrypted one even encrypted emojis without having to decrypt them in order to
|
||||
|
||||
@@ -505,11 +505,12 @@ inside this C code. :-)</p>
|
||||
<p>Fun fact: after winning this, the author played the game in gdb from start to
|
||||
finish and not counting macros but counting all function calls (not libc
|
||||
functions just the few functions in prog.c), there were a total of <strong>985</strong> (!)
|
||||
line jumps. Skipping prog.c function calls and it’s still <strong>776</strong> jumps! The
|
||||
line jumps. Skipping prog.c function calls and it was still <strong>776</strong> jumps! The
|
||||
prog.c, if you remove <code>#include</code>s, blank lines, lines with just a brace and
|
||||
lines that have only variables, has only 59 lines of code. A very tiny fraction
|
||||
of the time a line might be repeated in a row ONCE but that does not really
|
||||
matter.</p>
|
||||
lines that have only variables, <strong>has just 59 (!) lines of code</strong>. A very tiny
|
||||
fraction of the time a line might be repeated in a row ONCE but that does not
|
||||
really matter. The <a href="https://github.com/ioccc-src/winner/blob/master/2024/ferguson1/prog.goto.max.c">maxed out goto
|
||||
version</a> is far worse.</p>
|
||||
</blockquote>
|
||||
<p><strong>NOTE</strong>: I actually submitted two versions. This one is not encrypted. The
|
||||
encrypted one even encrypted emojis without having to decrypt them in order to
|
||||
|
||||
Reference in new issue
Block a user