API Response (JSON)
{
"problem": {
"name": "E. Maximize!",
"description": {
"content": "You are given a multiset _S_ consisting of positive integers (initially empty). There are two kind of queries: 1. Add a positive integer to _S_, the newly added integer is not less than any number 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": "CF939E"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a multiset _S_ consisting of positive integers (initially empty). There are two kind of queries:\n\n1. Add a positive integer to _S_, the newly added integer is not less than any number i...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你被给定一个多重集 #cf_span[S],包含正整数(初始为空)。有两种类型的查询:\n\n第一行包含一个整数 #cf_span[Q](#cf_span[1 ≤ Q ≤ 5·105])——查询的数量。\n\n接下来的 #cf_span[Q] 行每行描述一个查询。对于类型为 #cf_span[1] 的查询,给出两个整数 #cf_span[1] 和 #cf_span[x],其中 #cf_span[x](#c...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ Q \\in \\mathbb{Z}^+ $ be the number of queries. \nLet $ S \\subseteq \\mathbb{Z}^+ $ be a multiset, initially empty. \n\nFor each query $ i \\in \\{1, \\dots, Q\\} $: \n- If type 1: $ ...",
"is_translate": false,
"language": "Formal"
}
]
}