IOCCC image by Matt Zucker

The International Obfuscated C Code Contest

2020/endoh2 - Best perspective

← endoh1 ↑ 2020 ↑ endoh3 → C code Makefile Inventory





Author:

To build:

make

To use:

./prog

Try:

./try.sh

What happens if you do

./prog prog.c

?

Judges’ remarks:

Clever use of the C99 complex data type. The spoiler directory contains clues as to how some winning authors create / edit programs into ASCII shapes.

With the source from the spoiler directory could you make the code render for a larger terminal window? How about adding more glyphs?

Author’s remarks:

No! Try not. Do, or do not. There is no try.

cc -std=c99 prog.c
./a.out
./a.out hello.txt
./a.out yoda.txt
./a.out bear.txt

See spoiler.zip for the source code. The 16th most common password on the Internet in 2017 (according to Splash Data) the password is.

Inventory for 2020/endoh2

Jump to top

Primary files

Secondary files