This commit is contained in:
2026-05-11 00:55:01 -06:00
parent 128745f4f8
commit 25bd43676e

View File

@@ -560,7 +560,7 @@ class TopACTrendAPI(APIView):
Submission.objects.filter(contest_id__isnull=True) Submission.objects.filter(contest_id__isnull=True)
.values("problem_id", "problem___id", "problem__title") .values("problem_id", "problem___id", "problem__title")
.annotate(total=Count("id")) .annotate(total=Count("id"))
.order_by("-total")[:10] .order_by("-total")[:40]
) )
if not top_problems: if not top_problems:
return self.success([]) return self.success([])