API Response (JSON)
{
"problem": {
"name": "A. Fingerprints",
"description": {
"content": "You are locked in a room with a door that has a keypad with 10 keys corresponding to digits from 0 to 9. To escape from the room, you need to enter a correct code. You also have a sequence of digits. ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF994A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are locked in a room with a door that has a keypad with 10 keys corresponding to digits from 0 to 9. To escape from the room, you need to enter a correct code. You also have a sequence of digits.\n...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你被困在一个房间里,房门上有一个带有10个按键的键盘,按键对应数字0到9。要逃出房间,你需要输入正确的密码。你还拥有一个数字序列。\n\n键盘上某些按键上有指纹。你相信正确的密码是你拥有的序列中最长的(不一定连续)子序列,且该子序列仅包含具有指纹的按键对应的数字。请找出这样的密码。\n\n第一行包含两个整数 $n$ 和 $m$ ($1 lt.eq n, m lt.eq 10$),分别表示你拥有的序列中的数...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Let $ S = (x_1, x_2, \\dots, x_n) $ be the sequence of digits. \nLet $ F = \\{y_1, y_2, \\dots, y_m\\} $ be the set of digits with fingerprints. \n\nDefine the subsequence $ C = (c_1, c_2, \\dots, c_k) $ as...",
"is_translate": false,
"language": "Formal"
}
]
}