The sentence in active voice is:
D. All the pies were eaten at the contest.
However, this option is incorrect because it is still in passive voice. The correct option actually is none of them, as they are all in passive voice.
In active voice, the subject performs the action. None of the provided sentences fit that description based on your options. A correct active voice sentence would be something like, "The judges ate all the pies at the contest."