API Response (JSON)
{
"problem": {
"name": "K. Crazy queries",
"description": {
"content": "Given two strings S and P, and Q queries, for each query you are given a range [L, R]. For each pair of integers i and j chosen with uniform probability among all pairs where 1 ≤ i ≤ L and R ≤ j ≤ |S",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 30000,
"memory_limit": 1048576
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10199K"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Given two strings S and P, and Q queries, for each query you are given a range [L, R].\n\nFor each pair of integers i and j chosen with uniform probability among all pairs where 1 ≤ i ≤ L and R ≤ j ≤ |S...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ S $ be a string of length $ n = |S| $, and $ P $ be a pattern string of length $ m = |P| $. \nLet $ Q $ be the number of queries. For each query, we are given integers $ L $ an...",
"is_translate": false,
"language": "Formal"
}
]
}