API Response (JSON)
{
"problem": {
"name": "A. Search for Pretty Integers",
"description": {
"content": "You are given two lists of non-zero digits. Let's call an integer pretty if its (base 10) representation has at least one digit from the first list and at least one digit from the second list. What i",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF870A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given two lists of non-zero digits.\n\nLet's call an integer pretty if its (base 10) representation has at least one digit from the first list and at least one digit from the second list. What i...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你被给定两个非零数字的列表。\n\n如果一个整数(以 #cf_span[10] 为基)的表示中至少包含第一个列表中的一个数字和第二个列表中的一个数字,则称其为“美观的”。求最小的正美观整数。\n\n第一行包含两个整数 #cf_span[n] 和 #cf_span[m](#cf_span[1 ≤ n, m ≤ 9])——分别表示第一个和第二个列表的长度。\n\n第二行包含 #cf_span[n] 个互不相同的数...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ A \\subseteq \\{1, 2, \\dots, 9\\} $ be the first set of distinct non-zero digits, with $ |A| = n $. \nLet $ B \\subseteq \\{1, 2, \\dots, 9\\} $ be the second set of distinct non-zero...",
"is_translate": false,
"language": "Formal"
}
]
}