« Our Readers Read | Main | Midterm Evaluations »

May 02, 2005

Hacking the Online Grader

Recently, I wrote this peculiar DWITE (computing) competition, you know… its not actually a competition because its not like you are competing for anything (no prizes) and the problems are also dumb (something do with geese and lasers). The rules are simple: the problems are posted on Thursday, and you are able to post your solutions during specified times (11am - 3pm, Friday and Monday), and they will be automatically marked for you. Now, the thing is, if you don’t like how your program works, you can always try again.

However, since the test case data doesn’t change, you could experimentally establish the test result data and hard code to start your algorithm close to the answer (by changing the program on-the-fly, or by saving a text file on the grader’s hard drive - you should have permissions, because you do have to output a file). [Ed. This will allow your program to know which test case it is working on.]

Now, if you have the added ability to use net resources (which is very probable considering the computer needs internet connection to receive the program in the first place), you may even upload the test case data to your web space or email account, and bash it out with any crappy algorithm over the weekend. Will try this next time!

Posted by Oleg Ivrii at May 2, 2005 09:22 PM



   Copyright © 2004-2005 Oleg Ivrii, Liscensed under: Creative Commons.
   RSS: Big Party, RSS: Linklist.