1086. High Five

Given an array of records where each element is [studentId, score] representing a student's score, calculate the average of the top 5 scores for each unique student and return them sorted by student ID.

If a student has fewer than 5 scores, you cannot calculate an average, so those students are not included in the result.

The average of the top five scores is an integer division (floor) of their sum by five.

Examples
Input: [[1,91],[1,92],[1,93],[1,94],[1,95],[2,81],[2,82],[2,83],[2,84],[2,85]]
Output: [[1,93],[2,83]]
Hints
Related Problems

1086. High Five

Given an array of `records` where each element is `[studentId, score]` representing a student's score, calculate the average of the top 5 scores for each unique student and return them sorted by student ID.