The algorithm is sorting the job in decreasing order of their PC times (fi),
and schedule them in this order. Sorting n numbers costs O(n log n) running
time, which is the time complexity of this algorithm.
To simplify the proof of the correctness of this algorithm, we rename the
jobs so that
f1