Ducks are Touring-complete

Posted by Jetlogs @ 2:16 pm
Category: Humor, Web Development

Build this code in gcc:

#include <stdio.h>
int main(int c,char**v) {
    char *s=”B+p:ubYBGG0,|M3B=1*0N\n”
        ”it’s touring complete\n”,*k[]={s+21,–s};
    return c?({while(main(!k,k))putchar(**k^*k[1]-10);0;}):(v [1]++,*++*v);
}

Ducks are Touring complete. They move across a (theoretically) infinite
river in either direction. They have memory. In each step, they can
catch fish, take a dump, or quack.

This meme must live on! =D

Touring-complete


1 Comment »

1 Comment to “Ducks are Touring-complete”

  1. wrong
    1

    - - s , n o t - s

RSS Comment Feed Comments RSS |trackback TrackBack URI

Leave a comment

  • Archives

  • Donations

  • Social Bookmarks

  • Jetlogs.org
    Some Rights Reserved 2007
    Creative Commons License