β°οΈProblems
API Methods at /problems route
Get problem by ID
Query Parameters
Name
Type
Description
{
"id": 1,
"translations": ["ru", "en", "de", "pl", "uk", "es"],
"matched_translation": "en",
"name": "A+B",
"legend": "Your mission is to add two integers $A$ and $B$.\n**Input data**.\nThe only line of input contains two space-separated integers. The values of the numbers do not exceed $10^9$.\n**Output data**.\nThe only line must contain a single integer - the sum of the numbers $A$ and $B$.\n**Scoring**.\nYour solution will run on two subtasks.\nIn the first subtask, you will only receive points for passing all the tests.\nThe second subtask has 10 tests, for each of which your solution will receive 5 points.",
"limits": {
"time": 1000,
"memory": 262144
},
"samples": [
{
"stdin": "2 3",
"stdout": "5"
},
{
"stdin": "8 1",
"stdout": "9"
}
],
"subtasks": [
{
"points": 50,
"description": "$A, B \\le 1000$",
"test_count": 0
},
{
"points": 50,
"depends": [
1
],
"description": "$A, B \\le 10^9$",
"test_count": 0
}
],
"environments": [
{
"id": 1,
"name": "Python 3.11",
"files": [
{"name": "solution.py", "type": "text"}
]
},
{
"id": 2,
"name": "GNU C++20",
"additional_files": true,
"files": [
{"name": "solution.cpp", "type": "text"}
]
}
]
}Get public problems
Get tags
Managing problems
Get managed problems
Create a new problem
Request Body
Name
Type
Description
Import problem
Query Parameters
Name
Type
Description
Set statement
Request Body
Name
Type
Description
Drop statement
Request Body
Name
Type
Description
Set subtasks
Request Body
Name
Type
Description
Working with admins
Get admins
Request Body
Name
Type
Description
Set admin
Request Body
Name
Type
Description
Working with tests
Get tests
Query Parameters
Name
Type
Description
Get specific test
Query Parameters
Name
Type
Description
Set specific test
Request Body
Name
Type
Description
Set samples count
Request Body
Name
Type
Description
Reorder tests
Request Body
Name
Type
Description
Drop test
Request Body
Name
Type
Description
Set test comment
Request Body
Name
Type
Description
Import tests
Query Parameters
Name
Type
Description
Export tests
Query Parameters
Name
Type
Description
Last updated