Weekend Programming Challenge – Week #23 – Evil code


Image

Problem:

Invent something small and evil which to be almost invisible and to cause lot of troubles to catch like:

#define struct union

#define double float

#define floor ceil

#define true (__LINE__&42) !=42

#define private public

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday September 8st.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

3 Comments (+add yours?)

  1. Gol
    Sep 06, 2013 @ 21:10:26

    September 1st? That’s tough. And evil! No time to lose then: timetraveling is a long overdue invention. Thanks for giving us an incentive.🙂

    Reply

  2. Ijon Tichy
    Sep 07, 2013 @ 16:09:06

    Ommitting the WPC tags of the newer WPCs definitely has such a subtile but nevertheless incredible level of evil that the current run for the t-shirt needs to end here!

    AAAAAAaaaaaannnnnd the teeeeeeeeeee-shiiiiiiirrrrttttt goes to: O L I M E X!

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: