There is nothing to apologise about, if you've worked out whats in the exam due to something the teacher said, then, at worst, it is the teacher who is at fault, since they're the ones breaching the cssa rules. But in this case it doesnt seem like its anyones fault, just seems like your were...