Friday, February 23, 2007

CCSNE Warmup Round 1

Had our first meeting for the CCSNE programming contest today.

Had two problems to do:
http://acm.uva.es/p/v1/100.html
http://acm.uva.es/p/v101/10189.html

I completed both of them(I thought) in the hour provided. First one was a breeze, the second one is screwed up somewhere, as it gives me a wrong answer but all my test inputs turn out right.

Bonus points if you can find the problem: messy, uncommented source code here: http://pastebin.com/887670 (about 120 lines)

The next problem is pretty much making a mini-assembler in c++, so we'll see where that takes me.