API Response (JSON)
{
"problem": {
"name": "D. Chloe and pleasant prizes",
"description": {
"content": "Generous sponsors of the olympiad in which Chloe and Vladik took part allowed all the participants to choose a prize for them on their own. Christmas is coming, so sponsors decided to decorate the Chr",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF743D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Generous sponsors of the olympiad in which Chloe and Vladik took part allowed all the participants to choose a prize for them on their own. Christmas is coming, so sponsors decided to decorate the Chr...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Chloe 和 Vladik 参加的竞赛的慷慨赞助商允许所有参赛者自行选择奖品。圣诞节即将到来,因此赞助商决定用这些奖品装饰圣诞树。\n\n他们为参赛者准备了 #cf_span[n] 个奖品,并在每个奖品上写了一个唯一的 ID(从 #cf_span[1] 到 #cf_span[n] 的整数)。奖品 #cf_span[i] 的特征是整数 #cf_span[ai] —— 奖品的愉悦值。愉悦值可以是正数、负...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Let $ T = (V, E) $ be a rooted tree with $ n $ vertices, where $ V = \\{1, 2, \\dots, n\\} $, and vertex $ 1 $ is the root. Each vertex $ i \\in V $ has a weight $ a_i \\in \\mathbb{Z} $, representing the p...",
"is_translate": false,
"language": "Formal"
}
]
}