API Response (JSON)
{
"problem": {
"name": "A. Greed",
"description": {
"content": "Jafar has _n_ cans of cola. Each can is described by two integers: remaining volume of cola _a__i_ and can's capacity _b__i_ (_a__i_ ≤ _b__i_). Jafar has decided to pour all remaining cola into jus",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF892A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Jafar has _n_ cans of cola. Each can is described by two integers: remaining volume of cola _a__i_ and can's capacity _b__i_ (_a__i_ ≤ _b__i_).\n\nJafar has decided to pour all remaining cola into jus...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Jafar 有 #cf_span[n] 罐可乐。每罐可乐由两个整数描述:剩余可乐体积 #cf_span[ai] 和罐的容量 #cf_span[bi](#cf_span[ai] #cf_span[ ≤ ] #cf_span[bi])。\n\nJafar 决定将所有剩余可乐倒入恰好 #cf_span[2] 个罐中,请判断他是否能做到!\n\n输入的第一行包含一个整数 #cf_span[n](#cf_span[...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Let $ n $ be the number of cans. \nLet $ a_i $ be the remaining volume of cola in can $ i $, and $ b_i $ be its capacity, for $ i = 1, 2, \\dots, n $, with $ 0 \\leq a_i \\leq b_i $. \n\nLet $ S = \\sum_{i...",
"is_translate": false,
"language": "Formal"
}
]
}