From 66cef75bed231c5cf3c1d4fb2729e8fd5ccb5698 Mon Sep 17 00:00:00 2001 From: "sxw@401" Date: Sun, 13 Sep 2015 19:49:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=AC=AC=E4=B8=80=E4=B8=AAac?= =?UTF-8?q?=E8=80=85=E7=9A=84=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contest/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contest/models.py b/contest/models.py index 258ee19..190fce3 100644 --- a/contest/models.py +++ b/contest/models.py @@ -94,6 +94,8 @@ class ContestSubmission(models.Model): ac_time = models.IntegerField(default=0) # 总的时间,用于acm 类型的,也需要保存罚时 total_time = models.IntegerField(default=0) + # 第一个解出此题目 + first_achieved = models.BooleanField() class Meta: db_table = "contest_submission"