diff --git a/2000/natori/README.md b/2000/natori/README.md index c7a8061cb..62c981682 100644 --- a/2000/natori/README.md +++ b/2000/natori/README.md @@ -4,6 +4,10 @@ make ``` +An alt version exists for those in the southern hemisphere (or those who want to +see what it would be in the southern hemisphere). See [alternate +version](#alternate-code) below. + ## To use: @@ -11,9 +15,6 @@ make ./natori ``` -NOTE: an alternate version exists for those in the southern hemisphere. See the -Alternate code section below for more details. - ### Try: @@ -26,13 +27,21 @@ or else just by the code itself. Bonus points if you can make it show all! The author noted that those in the southern hemisphere might want to change `acos(l/2)` into `acos(-l/2)` which we have done in the alternate version. + +### Alternate build: + To run the alternate code that supports the southern hemisphere: ```sh make alt ``` -Use `natori.alt` as you would `natori`. + +### Alternate use: + +```sh +./natori.alt +``` What happens if you run it in the northern hemisphere? Are there any differences? @@ -43,14 +52,14 @@ versions? Or are there any? ## Judges' remarks: -Here is a nice compact program that changes with the phase of the moon. +Here is a nice compact program that changes with the phase of the Moon. Can you figure out how it does it? The ANSI-C committee, among their multiple misdeeds, broke perfectly fun C programs by making it intractable for them to declare their -own non-traditional prototype for main(). We have had to uglify this +own non-traditional prototype for `main()`. We have had to uglify this program in order to try and prevent C compilers form failing to -compile due to the unusual arg types of the main() function. +compile due to the unusual arg types of the `main()` function. ## Author's remarks: