Task Description Automating paper folding

Countless authors, including J.K. Rowling and any student with a thesis submission deadline, have at some point in their careers suffered from writer's block. Indeed, in the words of William Goldman, "The easiest thing to do on earth is not write". A common remedy is procrastination, more specifically folding the paper you should be writing upon. Your task this year is to write a computer program, which will automate this paper folding and enable prominent authors to get back to work.

Ready to go? Here's the task!

To be fair, here are the problems and scoring program that we'll be using to judge your software:

Back to top

Got a Question? Here's what you can do...

There's a Q&A doc. If you don't find your answer there, then go ahead and ask in this public forum.

Back to top

Ready? Give us what you've got...

Through this form you can upload and check your submissions during the competition (as .zip or .tar.gz files). A single competition entry program is to be called origasmi. You can submit an unlimited number of solutions throughout the weekend.The last submission on Sunday, 1st Dec 2013 at 20:00 ZST will be considered for the prize. After these times no corrections or resubmissions will be allowed. Submissions can only be done through the programming challenge website. There is no strict requirement about which programming language to use, but in the case of languages not mentioned in Table 2 an executable file which runs on either Ubuntu Linux 12.04.2 (64-bit) or Windows Server 2012 (64-bit) should be provided (you have to specify which).

Note that the program must finish uploading before the aforementioned time