Задание

If they ___ (NOT PASS) the exam, their teacher would have been sad.

hadn't passed

didn't pass

had passed