You are given a list of scores for multiple students, represented as items, where items[i]=[IDi,scorei] indicates the ID of a student (IDi) and their score (scorei). Your task is to compute the top five average scores for each student.
Return the result as an array of pairs, result, where resu ...