onlinejudge.dispatch module

onlinejudge.dispatch.services
Type

List [ Type [ onlinejudge.type.Service ] ]

contains classes to use for service_from_url()

onlinejudge.dispatch.problems
Type

List [ Type [ onlinejudge.type.Problem ] ]

contains classes to use for problem_from_url()

onlinejudge.dispatch.submissions
Type

List [ Type [ onlinejudge.type.Submission ] ]

contains classes to use for submission_from_url()

onlinejudge.dispatch.contest_from_url(url)[source]
Return type

Optional[Contest]

onlinejudge.dispatch.problem_from_url(url)[source]
>>> onlinejudge.dispatch.problem_from_url("https://atcoder.jp/contests/abc077/tasks/arc084_b")
<onlinejudge.service.atcoder.AtCoderProblem object at 0x7fa0538ead68>
>>> onlinejudge.dispatch.problem_from_url("https://codeforces.com/contest/1012/problem/D")
<onlinejudge.service.codeforces.CodeforcesProblem object at 0x7fa05a916710>
Return type

Optional[Problem]

onlinejudge.dispatch.service_from_url(url)[source]
Return type

Optional[Service]

onlinejudge.dispatch.submission_from_url(url)[source]
Return type

Optional[Submission]