← Back to companies
[ OK ] Loaded —
[ INFO ]
$ cd
$ ls -lt
01
02
03
04
05
$ ls -lt
01
02
03
04
05
user@intervues:~/$
You are given a list of races. Each race is represented by a list of (rider, points) tuples, where the rider is a string and the points are an integer. After each race, you must compute the current standings: a list of (rider, total_points) sorted by total_points descending, and alphabetically ascending for ties. Riders who have not scored in any race still appear with 0 points. Return the standings list after the final race.