封榜后管理员可以通过force_update查看最新rankings
This commit is contained in:
@@ -66,9 +66,9 @@ class AbstractContestRank(models.Model):
|
||||
|
||||
class ACMContestRank(AbstractContestRank):
|
||||
accepted_number = models.IntegerField(default=0)
|
||||
# total_time is only for ACM contest total_time = ac time + none-ac times * 20 * 60
|
||||
# total_time is only for ACM contest, total_time = ac time + none-ac times * 20 * 60
|
||||
total_time = models.IntegerField(default=0)
|
||||
# {23: {"is_ac": True, "ac_time": 8999, "error_number": 2, "is_first_ac": True}}
|
||||
# {"23": {"is_ac": True, "ac_time": 8999, "error_number": 2, "is_first_ac": True}}
|
||||
# key is problem id
|
||||
submission_info = JSONField(default=dict)
|
||||
|
||||
@@ -78,7 +78,7 @@ class ACMContestRank(AbstractContestRank):
|
||||
|
||||
class OIContestRank(AbstractContestRank):
|
||||
total_score = models.IntegerField(default=0)
|
||||
# {23: 333}}
|
||||
# {"23": 333}
|
||||
# key is problem id, value is current score
|
||||
submission_info = JSONField(default=dict)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user