API Response (JSON)
{
"problem": {
"name": "A. Generate Login",
"description": {
"content": "The preferred way to generate user login in Polygon is to concatenate a prefix of the user's first name and a prefix of their last name, in that order. Each prefix must be non-empty, and any of the pr",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF909A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "The preferred way to generate user login in Polygon is to concatenate a prefix of the user's first name and a prefix of their last name, in that order. Each prefix must be non-empty, and any of the pr...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "在 Polygon 中生成用户登录名的首选方法是将用户的名的前缀和姓的前缀按此顺序拼接。每个前缀必须非空,且任一前缀都可以是完整的名字。通常,每个人都有多个可能的登录名。\n\n给你一个用户的名和姓,请返回他们能得到的字典序最小的登录名(不考虑其他可能的 Polygon 用户)。\n\n作为提醒,字符串 #cf_span[s] 的前缀是出现在 #cf_span[s] 开头的子串:\"_a_\"、\"_ab_\"、...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Let $ f, l \\in \\Sigma^* $ be the first and last names, respectively, where $ \\Sigma = \\{a, b, \\dots, z\\} $, $ |f| \\geq 1 $, $ |l| \\geq 1 $, and $ |f|, |l| \\leq 10 $.\n\nLet $ P_f = \\{ f[1:i] \\mid i \\in ...",
"is_translate": false,
"language": "Formal"
}
]
}