From 8a4fec28cf3e487a2af52c4166b5f679883eb6dd Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Tue, 7 Oct 2025 03:05:21 +0800 Subject: [PATCH] update --- ai/views/oj.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ai/views/oj.py b/ai/views/oj.py index 11f987f..ca0c8db 100644 --- a/ai/views/oj.py +++ b/ai/views/oj.py @@ -227,6 +227,7 @@ class AIDetailDataAPI(APIView): "rank": rank, "ac_count": len(ranking_list), "grade": get_grade(rank, len(ranking_list)), + "difficulty": get_difficulty(problem.difficulty), } )