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?

If you liked this problem, here is an NRICH task which challenges you to use similar mathematical ideas.