A 17-year-old student was hailed as a genius, until it emerged she'd cheated.