I noticed that after system testing, Codeforces reruns all the solutions submitted after the round, and this process takes hours. I’m curious—why is this necessary?
Wouldn't it be more efficient to check the database to see if a solution was already accepted or marked wrong instead of re-evaluating everything? Running all solutions again is a heavy task that puts unnecessary load on the server, slowing down Codeforces significantly.