πContests
API Methods at /contests route
Get contest by ID
Query Parameters
Name
Type
Description
{
"id": 54,
"name": "Sort Me Round β8",
"description": "What an interesting contest it will be, you can't imagine!",
"organizer": "Sort Me Team",
"timings": {
"now": 1671382401,
"start": 1673382400,
"end": 1673384800,
"registration_start": 1671380000,
"registration_end": 1673382400
},
"features": {
"practice": false,
"table_visible": true,
"jury_chat": false,
},
"rules": "icpc",
"participants_count": 541,
"task_count": 1,
"registered": true,
"problems": [
{
"id": 1,
"name": "A+B",
"statement": {
"legend": "Your mission is to add two integers $A$ and $B$.",
"input": "The only line of input contains two space-separated integers. The values of the numbers do not exceed $$10^9$$.",
"output": "Print a single integer - the sum of the numbers $$A$$ and $$B$$.",
"scoring": "We will run your solution on two subtasks.\nIn the first subtask, you will only receive points for passing all tests.\nThe second subtask has 10 tests, for each of which your solution will receive 5 points.",
"note": "Adding is not subtracting..."
},
"samples": [
{"stdin": "2 3", "stdout": "5"},
{"stdin": "8 1", "stdout": "9"}
],
"subtasks": [
{
"points": 50,
"depends": [],
"description": "$$A, B \\le 1000$$"
},
{
"points": 50,
"depends": [1],
"description": "$$A, B \\le 10^9$$"
}
],
"limits": {
"time": 1000,
"memory": 256
},
"can_edit": false
}
]
"languages": [
{
"name": "Python 3.11",
"highlight": "python",
"api": "python",
"ext": "py"
},
{
"name": "PyPy 3.9",
"highlight": "python",
"api": "pypy",
"ext": "py"
},
{
"name": "GNU C++20",
"highlight": "cpp",
"api": "c++",
"ext": "cpp:cc:C"
}
]
}Register to contest
Query Parameters
Name
Type
Description
Get available
Get history of contests participation
Query Parameters
Name
Type
Description
Get contests you are admin in
Query Parameters
Name
Type
Description
Last updated