Editorial for SAC '21 Code Challenge P3 - DeMello's Replacement


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: maxcruickshanks

For each student, calculate their score as a double, then floor it and then cast it to a long data type (64-bit integer) and maintain the minimum and maximum student along with their name.

Time Complexity: \mathcal{O}(N)


Comments

There are no comments at the moment.