The 2nd and 3rd places of a contest are chosen by random weighted selection from all participants. All winners are stored separately in the database (to guard against future recalculation coming up with a different set).
There should be a 'winner selection' screen, with obvious way to initiate the process and then display the top winners.