API Response (JSON)
{
"problem": {
"name": "I. Bashar and Hamada",
"description": {
"content": "Bashar is a very smart person, he invented a new function $F (S)$, where $S$ is a multiset of integers. The function $F (S)$ returns the sum of the absolute difference between every pair of elements ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10226I"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Bashar is a very smart person, he invented a new function $F (S)$, where $S$ is a multiset of integers.\n\nThe function $F (S)$ returns the sum of the absolute difference between every pair of elements ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ s $ be a string representing the hierarchical structure of $ n $ soldiers, where each soldier is encoded as: \n$$ \\text{Soldier} = \\text{Id} + \\text{Subordinates}, \\quad \\text{...",
"is_translate": false,
"language": "Formal"
}
]
}