击败比例不需要%

This commit is contained in:
xuyue committed 2025-05-09 20:40:59 +08:00
1 parent c4ae0f32fb
commit 2c71ed63f9
1 file changed
+1 -1
+1 -1
View File
@@ -178,4 +178,4 @@ class ProblemSolvedPeopleCount(APIView):
rate = "%.2f" % ((total_count - accepted_count) / total_count * 100)
else:
rate = "0"
return self.success(f"{rate}%")
return self.success(rate)