API Response (JSON)
{
"problem": {
"name": "D. Vitya and Strange Lesson",
"description": {
"content": "Today at the lesson Vitya learned a very interesting function — _mex_. _Mex_ of a sequence of numbers is the minimum non-negative number that is not present in the sequence as element. For example, _m",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF842D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Today at the lesson Vitya learned a very interesting function — _mex_. _Mex_ of a sequence of numbers is the minimum non-negative number that is not present in the sequence as element. For example, _m...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "今天在课堂上,Vitya 学习了一个非常有趣的函数——_mex_。一个数列的 _mex_ 是指该序列中不存在的最小非负整数。例如,#cf_span[mex([4, 33, 0, 1, 1, 5]) = 2] 和 #cf_span[mex([1, 2, 3]) = 0]。\n\nVitya 迅速理解了老师的所有题目,但你能做到吗?\n\n给你一个包含 #cf_span[n] 个非负整数的数组,以及 #cf_...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, m \\in \\mathbb{Z}^+ $ denote the number of array elements and queries, respectively. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be the initial array of non-negative integers. \nLet...",
"is_translate": false,
"language": "Formal"
}
]
}