feat: add problem yearly AC rate API endpoint

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-11 00:19:16 -06:00
parent ae783c3a89
commit 74d5c7256d
3 changed files with 53 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ from ..views.oj import (
ProblemAuthorAPI,
ProblemSolvedPeopleCount,
ProblemTagAPI,
ProblemYearlyACRateAPI,
SimilarProblemAPI,
)
@@ -16,6 +17,7 @@ urlpatterns = [
path("problem/beat_count", ProblemSolvedPeopleCount.as_view()),
path("problem/similar", SimilarProblemAPI.as_view()),
path("problem/author", ProblemAuthorAPI.as_view()),
path("problem/yearly_ac", ProblemYearlyACRateAPI.as_view()),
path("pickone", PickOneAPI.as_view()),
path("contest/problem", ContestProblemAPI.as_view()),
]