API Response (JSON)
{
"problem": {
"name": "B. Polycarp's phone book",
"description": {
"content": "There are _n_ phone numbers in Polycarp's contacts on his phone. Each number is a 9-digit integer, starting with a digit different from 0. All the numbers are distinct. There is the latest version of",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 4000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF860B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "There are _n_ phone numbers in Polycarp's contacts on his phone. Each number is a 9-digit integer, starting with a digit different from 0. All the numbers are distinct.\n\nThere is the latest version of...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Polycarp 的手机通讯录中有 #cf_span[n] 个电话号码。每个号码是一个 9 位整数,且首位数字不为 #cf_span[0]。所有号码互不相同。\n\nPolycarp 的手机安装了最新版本的 Berdroid 操作系统。当输入某个数字序列时,系统会显示通讯录中所有包含该序列作为子串的电话号码。例如,若 Polycarp 的通讯录中有三个号码:#cf_span[123456789]、#c...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $, $ 1 \\leq n \\leq 70000 $, be the number of phone contacts. \nLet $ P = \\{p_1, p_2, \\dots, p_n\\} $ be a set of distinct 9-digit strings, where each $ p_i \\in ...",
"is_translate": false,
"language": "Formal"
}
]
}