API Response (JSON)
{
"problem": {
"name": "E. Colored Balls",
"description": {
"content": "There are _n_ boxes with colored balls on the table. Colors are numbered from 1 to _n_. _i_\\-th box contains _a__i_ balls, all of which have color _i_. You have to write a program that will divide all",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF792E"
},
"statements": [
{
"statement_type": "Markdown",
"content": "There are _n_ boxes with colored balls on the table. Colors are numbered from 1 to _n_. _i_\\-th box contains _a__i_ balls, all of which have color _i_. You have to write a program that will divide all...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "桌上有 #cf_span[n] 个装有彩球的盒子。颜色编号从 #cf_span[1] 到 #cf_span[n]。第 #cf_span[i] 个盒子包含 #cf_span[ai] 个球,所有球的颜色均为 #cf_span[i]。你需要编写一个程序,将所有球划分为若干集合,使得:\n\n请输出可能的最少集合数量。\n\n第一行包含一个整数 #cf_span[n](#cf_span[1 ≤ n ≤ 500])...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $ be the number of colors. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be a sequence of positive integers, where $ a_i $ is the number of balls of color $ i $.\n\n**Con...",
"is_translate": false,
"language": "Formal"
}
]
}