no need to tell the teacher, who will eventually realize her error, after all it is math.
No need to send gift because of this; it will only magnify the problem in the teacher's mind.
If your child likes to find faults and calling others stupid, see if she feels inadequate in some way, because she is distracting herself from such feelings.