API ProblemSet.*
- class cforces.methods.problemset.ProblemSet
Bases:
object- async problemset_problems(tags: List[str] | str | None = None, problemset_name: str | None = None) Tuple[List[Problem], List[ProblemStatistics]]
Retrieves problems (and their statistics) from a problemset.
- Parameters:
tags – Problem tags.
problemset_name – Short name of the problemset the problem belongs to.
- Returns:
A tuple of Problem’s and ProblemStatistics’s
- async problemset_recent_status(count: int = 10, problemset_name: str | None = None) List[Submission]
Retrieves recent submissions from a problemset.
- Parameters:
count – Number of submissions to return.
problemset_name – Short name of the problemset the problem belongs to.
- Returns:
A list of submissions belonging to the specified problemset.