Best one liner

Taketo Konno
Tokyo, Japan
inaniwa3@gmail.com

Judges' comments:

To build:

make konno

To run:

./konno just_a_single_argument_of_lower_case_letters

Try:

./konno qwerty
./konno ioccc
./konno "the quick brown fox jumps over the lazy dog"

Selected Judges Remarks:

This tiny program outputs what looks like a tiny keyboard.
OK, so the letters are missing. But that is no problem because this program identifes the lower case letters that were pressed!

It is one of those minimal keyboards without all of those confusing symbols keys. No shift for SHOULDING CAPS but at least it does not have that useless caps lock key!

We recommend that you completely deconstruct / figure out how this program works and does what it does. Can you extend this program to deal with a full QWERTY keyboard? Can you then minimize the size of that code?

Author’s comments:

Limitation

This program ignores non-lower case letters.

Obfuscation


Creative Commons License

© Copyright 1984-2012, Leo Broukhis, Simon Cooper, Landon Curt Noll - All rights reserved
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.