This content is archived!

For the 2018-2019 school year, we have switched to using the WLMOJ judge for all MCPT related content. This is an archive of our old website and will not be updated.

Use two variables, the earliest year and name of the person, to store the currently first person to discover the theorem. Loop through the mathematicians and override the current person if the year of the current person is less than the one stored.

Time complexity

\mathcal{O}(N)


Problem

Read the problem.