diff --git a/2005/giljade/README.md b/2005/giljade/README.md index 4f7cea47e..555eb838d 100644 --- a/2005/giljade/README.md +++ b/2005/giljade/README.md @@ -4,7 +4,7 @@ make ``` -NOTE: We FORCE the use of -O0 even if someone overrides it because this entry +**NOTE**: We **FORCE** the use of `-O0` even if someone overrides it because this entry will not work with it enabled. @@ -38,7 +38,7 @@ For more detailed information see [2005/giljade in bugs.html](../../bugs.html#20 ./giljade out ``` -NOTE: [try.sh](%%REPO_URL%%/2005/giljade/try.sh) will ask you if you wish to do this. +**NOTE**: [try.sh](%%REPO_URL%%/2005/giljade/try.sh) will ask you if you wish to do this. ## Judges' remarks: @@ -128,7 +128,7 @@ the algorithm that is used to generate possible moves is extremely efficient. * The single expression I'm most proud of, and would have submitted to the category of 'best obfuscated short expression' if there was one is: - s=s^(b=s&s-1^s) + `s=s^(b=s&s-1^s)` Can you figure out what it does (very efficiently) and how it fits in the scheme of things? diff --git a/2005/giljade/index.html b/2005/giljade/index.html index c9d2c1ea2..a2192b752 100644 --- a/2005/giljade/index.html +++ b/2005/giljade/index.html @@ -409,7 +409,7 @@ Location: IL - State of Israel (

To build:

    make
-

NOTE: We FORCE the use of -O0 even if someone overrides it because this entry +

NOTE: We FORCE the use of -O0 even if someone overrides it because this entry will not work with it enabled.

Bugs and (Mis)features:

The current status of this entry is:

@@ -424,7 +424,7 @@ will not work with it enabled.

Self-test feature to try:

    ./giljade > out
     ./giljade out
-

NOTE: try.sh will ask you if you wish to do this.

+

NOTE: try.sh will ask you if you wish to do this.

Judges’ remarks:

This entry takes editorial in how it deals with its output. After using vi(1) (or vim(1)) to look at the source, use vi(1) (or vim(1)) to look at its @@ -491,7 +491,7 @@ one is used. No inefficient conditional tests and jumps are needed in that part of the program.

  • The single expression I’m most proud of, and would have submitted to the category of ‘best obfuscated short expression’ if there was one is:

    -

    s=s(b=s&s-1s)

    +

    s=s^(b=s&s-1^s)

    Can you figure out what it does (very efficiently) and how it fits in the scheme of things?

  • IMHO the program is easier to understand before running cpp on it. It is also diff --git a/bugs.html b/bugs.html index 9bfeeb5e3..c2858a914 100644 --- a/bugs.html +++ b/bugs.html @@ -2278,7 +2278,8 @@ dimensions. Try 100 100 100 for instance and see what happens!

    Information: 2005/giljade/index.html

    This entry will very likely segfault or do something strange if the source code does not exist.

    -

    This entry requires that sed and make are in the path.

    +

    This entry will, according to the author, likely segfault if sizeof(int) != sizeof(FILE *).

    +

    This entry requires that sed and make are in your $PATH.

    2005/mikeash

    diff --git a/bugs.md b/bugs.md index eab65d7c7..ba50a7c93 100644 --- a/bugs.md +++ b/bugs.md @@ -2742,7 +2742,10 @@ dimensions. Try `100 100 100` for instance and see what happens! This entry will very likely segfault or do something strange if the source code does not exist. -This entry requires that `sed` and `make` are in the path. +This entry will, according to the author, likely segfault if `sizeof(int) != +sizeof(FILE *)`. + +This entry requires that `sed` and `make` are in your `$PATH`.