API Response (JSON)
{
"problem": {
"name": "D. Mahmoud and Ehab and another array construction task",
"description": {
"content": "Mahmoud has an array _a_ consisting of _n_ integers. He asked Ehab to find another array _b_ **of the same length** such that: * _b_ is lexicographically greater than or equal to _a_. * _b__i_ ≥ ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF959D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Mahmoud has an array _a_ consisting of _n_ integers. He asked Ehab to find another array _b_ **of the same length** such that:\n\n* _b_ is lexicographically greater than or equal to _a_.\n* _b__i_ ≥ ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Mahmoud 有一个由 #cf_span[n] 个整数组成的数组 #cf_span[a]。他要求 Ehab 找到另一个 *长度相同* 的数组 #cf_span[b],使得:\n\nEhab 想要选择一个特殊的数组,因此他希望在所有可能的变体中找到字典序最小的数组。你能找到它吗?\n\n数组 #cf_span[x] 被称为字典序大于数组 #cf_span[y],如果存在一个下标 #cf_span[i],使...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $ be the length of the arrays. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be the given array of integers, where $ a_i \\in \\mathbb{Z} $ and $ 2 \\leq a_i \\leq 10^5 $. ...",
"is_translate": false,
"language": "Formal"
}
]
}