Save old contest info to file.

Signed-off-by: CyberZHG <443442708@qq.com>