API Response (JSON)
{
"problem": {
"name": "C. Voltage Keepsake",
"description": {
"content": "You have _n_ devices that you want to use simultaneously. The _i_\\-th device uses _a__i_ units of power per second. This usage is continuous. That is, in λ seconds, the device will use λ·_a__i_ units",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF801C"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You have _n_ devices that you want to use simultaneously.\n\nThe _i_\\-th device uses _a__i_ units of power per second. This usage is continuous. That is, in λ seconds, the device will use λ·_a__i_ units...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你有 #cf_span[n] 个设备,希望同时使用它们。\n\n第 #cf_span[i] 个设备每秒消耗 #cf_span[ai] 单位的电量。这种消耗是连续的。也就是说,在 #cf_span[λ] 秒内,该设备将消耗 #cf_span[λ·ai] 单位的电量。第 #cf_span[i] 个设备当前存储了 #cf_span[bi] 单位的电量。所有设备都可以存储任意数量的电量。\n\n你有一个充电器,可...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $ be the number of devices, and $ p \\in \\mathbb{R}^+ $ be the charging rate (units per second). \nFor each device $ i \\in \\{1, \\dots, n\\} $: \n- Let $ a_i \\i...",
"is_translate": false,
"language": "Formal"
}
]
}