API Response (JSON)
{
"problem": {
"name": "D. Frequency of String",
"description": {
"content": "You are given a string $s$. You should answer $n$ queries. The $i$\\-th query consists of integer $k_i$ and string $m_i$. The answer for this query is the minimum length of such a string $t$ that $t$ i",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF963D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a string $s$. You should answer $n$ queries. The $i$\\-th query consists of integer $k_i$ and string $m_i$. The answer for this query is the minimum length of such a string $t$ that $t$ i...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "给定一个字符串 $s$。你需要回答 $n$ 个查询。第 $i$ 个查询由整数 $k_i$ 和字符串 $m_i$ 组成。该查询的答案是满足以下条件的最短字符串 $t$ 的长度:$t$ 是 $s$ 的子串,且 $m_i$ 在 $t$ 中作为子串至少出现 $k_i$ 次。\n\n字符串的子串是指该字符串中连续的一段字符。\n\n保证任意两个查询中的字符串 $m_i$ 都不相同。\n\n第一行包含字符串 $s$ $(...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ s \\in \\Sigma^* $ be the input string, where $ \\Sigma $ is the set of lowercase English letters. \nLet $ n \\in \\mathbb{Z}^+ $ be the number of queries. \nFor each query $ i \\in ...",
"is_translate": false,
"language": "Formal"
}
]
}