API Response (JSON)
{
"problem": {
"name": "D. Degree Set",
"description": {
"content": "You are given a sequence of _n_ positive integers _d_1, _d_2, ..., _d__n_ (_d_1 < _d_2 < ... < _d__n_). Your task is to construct an undirected graph such that: * there are exactly _d__n_ + 1 verti",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF976D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a sequence of _n_ positive integers _d_1, _d_2, ..., _d__n_ (_d_1 < _d_2 < ... < _d__n_). Your task is to construct an undirected graph such that:\n\n* there are exactly _d__n_ + 1 verti...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你被给定一个由 #cf_span[n] 个正整数组成的序列 #cf_span[d1, d2, ..., dn] (#cf_span[d1 < d2 < ... < dn])。你的任务是构造一个无向图,满足以下条件:\n\n顶点编号应为 #cf_span[1] 到 #cf_span[(dn + 1)]。\n\n_度序列_ 是一个长度等于图中顶点数的数组 #cf_span[a],其中 #cf_span[ai]...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $ be the size of the degree set. \nLet $ D = (d_1, d_2, \\dots, d_n) $ be a strictly increasing sequence of positive integers, $ d_1 < d_2 < \\dots < d_n $, re...",
"is_translate": false,
"language": "Formal"
}
]
}