To see the 2009 challenge, please visit the 2009_piet_challenge page.
N-Squared is pleased to announce the results of our 2008 LOLCODE Challenge. Congratulations go to Dale Halliwell, Brendon Collecutt and Carlos Crasborn for their outstanding square root LOLCODE programs. With quality routines like these, we're sure there is a fine future in LOLCODE programming.
The top three entries were:
| 1st | Dale Halliwell | View the code, View the tests |
| 2nd | Brendon Collecutt | View the code (tests included) |
| 3rd | Carlos Crasborn | View the code, View the tests |
We found the quality of these three entries excellent, The test cases were great, the LOLCODE style adherence was great to see and best of all each worked!
To all those that entered we hope you had fun, and look forward to providing you with another exciting challenge next year in 2009.
As part of our interest in supporting local IT talent, N-Squared Software has decided to run a programming challenge for 2008 Massey University students. This challenge is designed to be completed individually, in your own time. It is not a timed or group challenge.
We have designed this challenge to take about an evening to complete. For those who take this challenge on, we hope you find it a worthwhile escape – a brief interlude from worldly pressures.
Prizes will be cold, hard, cash in the following amounts:
| First Prize | Second Prize | Third Prize |
|---|---|---|
| $300 | $200 | $100 |
All prizes are in New Zealand dollars.
The Babylonian method of calculating the square root of a number is a simple approach which through iteration converges on the square root of a number. An initial seed value is used as a guess.
LOLCODE is a humorous programming language that arose from the LOLCats internet meme.
| |
To test functionality, we will execute your program from the command line. An example of executing such a program, we might run the following command:
$ python lolpython.py sqrt.lol 43 6.5574385243
Please send your submission to:
The following must be provided in your submission:
Please note:
Marking will be based on the following:
Marks will be awarded out of 20.
Note that for the purposes of these rules, “we” and “us” refers to N-Squared Software and agents acting on their behalf. “you” and “your” refers to the person who submits an entry for this challenge.
The challenge organisers are:
Details on the Babylonian method for calculating the square root of a number can be found at: http://en.wikipedia.org/wiki/Methods_of_computing_square_roots
Basic details on the LOLCODE language can be found at: http://lolcode.com/. Please note that the LOLCODE interpreter we are providing for this challenge extends the basic language somewhat.
The provided Python based LOLCODE interpreter is based off Andrew Dalke's interpreter available at http://www.dalkescientific.com/writings/diary/archive/2007/06/01/lolpython.html with a minor addition to the syntax to help with this challenge.