update contest set showSolutions = 1 where `status` = 'PastContest';