Add time for contest mode
Fix error print