SPOJ TEST in LOLPython

October 2, 2010 at 06:07 (esoteric language, tutorial)

Background: I introduced SPOJ in a previous post.

If you haven’t heard, LOLCODE is a powerful programming language used mainly by cats. It is deplorable that such a beautiful and natural language has not received wider support thus far. To help remedy the situation, I decided to code a solution to TEST using LOLPython, which is derived from LOLCODE and is just as elegant. Of course the program cannot be submitted because neither LOLCODE nor LOLPython is currently supported by SPOJ. But we must have faith that one day such blatant discrimination against cats and their programming languages will end, and we must prepare for that glorious day!

I can haz code?

WHILE I CUTE?
    MENUMBR CAN HAZ NUMBR raw_input WIT OK!
    IZ MENUMBR KINDA LIKE 42?
        KTHXBYE
    VISIBLE MENUMBR

Save a kitten – ask for LOLCODE support in your local programming competition (and syntax highlighter) today!

Permalink Leave a Comment