击败多少用户

This commit is contained in:
2025-04-13 21:20:52 +08:00
parent 4fafdd278e
commit 43dfeb2fa0
3 changed files with 38 additions and 5 deletions

View File

@@ -1,10 +1,17 @@
from django.urls import path
from ..views.oj import ProblemTagAPI, ProblemAPI, ContestProblemAPI, PickOneAPI
from ..views.oj import (
ProblemSolvedPeopleCount,
ProblemTagAPI,
ProblemAPI,
ContestProblemAPI,
PickOneAPI,
)
urlpatterns = [
path("problem/tags", ProblemTagAPI.as_view()),
path("problem", ProblemAPI.as_view()),
path("problem/beat_count", ProblemSolvedPeopleCount.as_view()),
path("pickone", PickOneAPI.as_view()),
path("contest/problem", ContestProblemAPI.as_view()),
]