Posted by Lil' Viv on August 17, 2001 at 08:56:33:
In Reply to: speedy gonzales posted by project 5 on August 17, 2001 at 03:27:44:
Well, mine was actually pretty fast, but I didn't try any tricks or anything. He gave us the tips of using the old C qsort, which I did. It was difficult 'cause I had never seen just plain C before, and I had no idea what the hell a void pointer did or its purpose in life, but I do, now. =P
And, I simply used an array of pairs, nothing else. So, an array of pairs and qsort, and it looks like mine was second or third fastest in the class, apparently?
I think Aaron had some trick, 'cause he beat the best submission in half. =P