Files
ioccc/1995/cdua/README.md
T
Cody Boone Ferguson fd9b44ef76 Update bugs.md and 1995/cdua/README.md
I noted in bugs.md that there is a bug that remains and I noted the bug
in the README.md too (under the to run section) as it seems like it
should be noted (sometimes the program needs you to press return to
continue solving the maze).
2023-03-19 09:03:25 -07:00

1.0 KiB

Best Output:

Carlos Duarte
Instituto Superior Tecnico
Largo da Igreja, 5 R/C DTo
Damaia
2720 Amadora 
Portugal

To build:

    make all

Cody Boone Ferguson fixed this so that it would work with macOS. Once it could compile it additionally segfaulted under macOS which he also fixed. Thank you Cody for your assistance!

To run

./cdua

NOTE: on modern systems this might be hard to see it solve it in running time as it goes so quickly but it will still show the result after execution.

NOTE: sometimes the program needs you to press enter a second time to continue solving the maze.

Judges' comments

This could be used as the basis of an a-maze-ing screen exerciser.

Author's comments

A program that generates a maze, and then solves it, all this being seen by the user. Some highlights of obfuscation are: 3 steps functions in one - main(), several recursive calls with conditional actions, and just one (big and ugly) statement to solve the maze.