diff --git a/RANK.html b/RANK.html
index 4960df6..fd2a744 100644
--- a/RANK.html
+++ b/RANK.html
@@ -21,8 +21,8 @@
该页面展示得分前五名和最近三十次提交成功的数据(包括零分)。
数据非实时刷新,可能有最长五分钟的延迟。
详细日志信息点击「查看详情」即可查看。
-前五名排行榜
-这里展示得分前五名的数据。
+前十名排行榜
+这里展示得分前十名的数据。
以得分排序,分数高的靠前,若分数相同,则运行时间短的靠前。
diff --git a/RANK.md b/RANK.md
index d74a17f..142224c 100644
--- a/RANK.md
+++ b/RANK.md
@@ -6,9 +6,9 @@
详细日志信息点击「查看详情」即可查看。
-## 前五名排行榜
+## 前十名排行榜
-这里展示**得分前五名**的数据。
+这里展示**得分前十名**的数据。
以得分排序,分数高的靠前,若分数相同,则运行时间短的靠前。
diff --git a/app.py b/app.py
index 0ed060c..9b82edc 100644
--- a/app.py
+++ b/app.py
@@ -152,10 +152,10 @@ def get_top_scores(project):
if student_id not in best_scores_by_id:
best_scores_by_id[student_id] = score
- # 取前五名
+ # 取前十名
for score in scores:
score["running_time"] = str(score["running_time"]) + "ms"
- top_scores = list(best_scores_by_id.values())[:5]
+ top_scores = list(best_scores_by_id.values())[:10]
response = jsonify(top_scores)
response.headers.add("Access-Control-Allow-Origin", "*")