Submit a solution
repovive_submit_solutionSubmit source code to a contest problem and receive the judge's final verdict, including passed and total counts, with optional polling until completion.
Instructions
Submit source code to a contest problem and, by default, poll until the judge returns a final verdict. This records a REAL submission on the authenticated Repovive account and counts against the ~10 submissions/minute limit — verify locally with repovive_judge_solution first. Returns the submission id, verdict and passed/total.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Poll until the verdict is final | |
| source | Yes | Solution source code | |
| language | No | Language name; one of: c, c++, cpp, go, java, javascript, py, pypy, pypy3, python, python3, rust, typescript | pypy |
| timeout_s | No | Max seconds to wait for the verdict | |
| contest_id | Yes | Contest ObjectId (24 hex) | |
| problem_slug | Yes | Problem slug, e.g. 'remainder-count' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |