API Response (JSON)
{
"problem": {
"name": "B. Substrings Sort",
"description": {
"content": "You are given $n$ strings. Each string consists of lowercase English letters. Rearrange (reorder) the given strings in such a way that for every string, all strings that are placed before it are its _",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF988B"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given $n$ strings. Each string consists of lowercase English letters. Rearrange (reorder) the given strings in such a way that for every string, all strings that are placed before it are its _...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你被给定 $n$ 个字符串。每个字符串由小写英文字母组成。请将这些字符串重新排列(排序),使得对于每一个字符串,所有排在它前面的字符串都是它的 _子串_。\n\n字符串 $a$ 是字符串 $b$ 的 _子串_,当且仅当可以在 $b$ 中选出若干个 _连续_ 的字母,使其恰好构成 $a$。例如,字符串 \"_for_\" 是字符串 \"_codeforces_\"、\"_for_\" 和 \"_therefore_\"...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Let $ S = \\{s_1, s_2, \\dots, s_n\\} $ be a multiset of $ n $ strings over the alphabet $ \\Sigma = \\{a, b, \\dots, z\\} $.\n\n**Goal:** Determine if there exists a permutation $ \\sigma \\in S_n $ such that f...",
"is_translate": false,
"language": "Formal"
}
]
}