update
This commit is contained in:
1 parent
128745f4f8
commit
25bd43676e
1 file changed
+1
-1
@@ -560,7 +560,7 @@ class TopACTrendAPI(APIView):
|
||||
Submission.objects.filter(contest_id__isnull=True)
|
||||
.values("problem_id", "problem___id", "problem__title")
|
||||
.annotate(total=Count("id"))
|
||||
.order_by("-total")[:10]
|
||||
.order_by("-total")[:40]
|
||||
)
|
||||
if not top_problems:
|
||||
return self.success([])
|
||||
|
||||
Reference in new issue
Block a user