API Response (JSON)
{
"problem": {
"name": "D. Credit Card",
"description": {
"content": "Recenlty Luba got a credit card and started to use it. Let's consider _n_ consecutive days Luba uses the card. **She starts with 0 money on her account.** In the **evening** of _i_\\-th day a transac",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF893D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Recenlty Luba got a credit card and started to use it. Let's consider _n_ consecutive days Luba uses the card.\n\n**She starts with 0 money on her account.**\n\nIn the **evening** of _i_\\-th day a transac...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "最近,Luba 获得了一张信用卡并开始使用它。考虑 Luba 使用该卡的 #cf_span[n] 个连续天数。\n\n*她在账户中初始有 #cf_span[0] 元钱。*\n\n在第 #cf_span[i] 天的 *晚上*,发生一笔交易 #cf_span[ai]。如果 #cf_span[ai > 0],则 #cf_span[ai] 卢布存入 Luba 的账户;如果 #cf_span[ai < 0],则 #...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, d \\in \\mathbb{Z}^+ $ be the number of days and the maximum allowed balance. \nLet $ A = (a_1, a_2, \\dots, a_n) \\in \\mathbb{Z}^n $ be the sequence of daily transactions, wher...",
"is_translate": false,
"language": "Formal"
}
]
}