API Response (JSON)
{
"problem": {
"name": "B. Divisiblity of Differences",
"description": {
"content": "You are given a multiset of _n_ integers. You should select exactly _k_ of them in a such way that the difference between any two of them is divisible by _m_, or tell that it is impossible. Numbers c",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF876B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a multiset of _n_ integers. You should select exactly _k_ of them in a such way that the difference between any two of them is divisible by _m_, or tell that it is impossible.\n\nNumbers c...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "给你一个包含 #cf_span[n] 个整数的多重集。你需要从中恰好选出 #cf_span[k] 个数,使得其中任意两个数的差都能被 #cf_span[m] 整除,或者判断这是不可能的。\n\n原始多重集和选出的多重集中可以包含重复的数字,但选出的多重集中任意数字的出现次数不得超过其在原始多重集中的出现次数。\n\n第一行包含三个整数 #cf_span[n]、#cf_span[k] 和 #cf_span[...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, k, m \\in \\mathbb{Z}^+ $ with $ 2 \\leq k \\leq n \\leq 100{,}000 $ and $ 1 \\leq m \\leq 100{,}000 $. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be a multiset of integers with $ 0 \\leq...",
"is_translate": false,
"language": "Formal"
}
]
}