One hundred and twenty students take an exam which is marked out of 100 (with no fractional marks). No three students are awarded the same mark.

What is the smallest possible number of pairs of students who are awarded the same mark?

This problem is taken from the UKMT Intermediate Mathematical Challenges.