Editorial for ECOO '21 P3 - Quintessential Questions


Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.

Author: Riolku

We should loop through all of the emails Keenan received, and keep track of, for each question, the best answer. This can be done with two arrays, one to store the best answer received, and the other to keep track of the best professor for each question.

The subtask was intended to reward inefficient solutions.


Comments

There are no comments at the moment.