• + 1 comment

    I don't understand the meaning of this question.

    ranked = [100, 90, 90, 80]
    player = [70, 80, 105]
    

    For the first array,

    int ranked[n]: the leaderboard scores
    

    so there are 4 players on the leaderboard,

    and the second array,

    int player[m]: the player's scores
    

    why are there only 3 players this round?

    how do I calculate the ranking?