Is your primary goal to punish/incentivise the teacher, or to accurately determine how smart the children are?

If the latter, you would ignore the 'cheated' answers and judge them on everything else; you wouldn't mark the 'cheated' answers as incorrect.