I'm not even really worried about cheating in this context (although that matters when you get to certification--a lot). I'm thinking more of: It gets the right result but it does so in a really crappy way. (And, yes, in some circumstances you can measure CPU time but you still mostly in RIGHT/WRONG grading.)