API Response (JSON)
{
"problem": {
"name": "A. Holiday Of Equality",
"description": {
"content": "In Berland it is the holiday of equality. In honor of the holiday the king decided to equalize the welfare of all citizens in Berland by the expense of the state treasury. Totally in Berland there ar",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF758A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "In Berland it is the holiday of equality. In honor of the holiday the king decided to equalize the welfare of all citizens in Berland by the expense of the state treasury.\n\nTotally in Berland there ar...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "在伯兰,今天是平等节。为了庆祝这个节日,国王决定通过国家金库的支出,使所有公民的福利均等化。\n\n伯兰共有 #cf_span[n] 名公民,每个人的福利被评估为一个整数 #cf_span[ai] 布尔(布尔是伯兰的货币)。\n\n你是皇家财政官,需要计算国王赠礼所需的最少开支。国王只能给钱,没有权力收回钱。\n\n第一行包含整数 #cf_span[n](#cf_span[1 ≤ n ≤ 100])——王国中...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $ be the number of citizens. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be a sequence of non-negative integers representing the welfare of each citizen.\n\n**Constrain...",
"is_translate": false,
"language": "Formal"
}
]
}