fix contest stat after problem deleted and improve contest status