API Response (JSON)
{
"problem": {
"name": "171. Nearest Palindromes",
"description": {
"content": "A number is called a _palindrome_ if it reads the same forwards and backwards. For example, 5775, 98389, 7, and 66 are palindromes, but 552, 35, and 86867 are not palindromes. Given a number $n$, fig",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF10269171"
},
"statements": [
{
"statement_type": "Markdown",
"content": "A number is called a _palindrome_ if it reads the same forwards and backwards. For example, 5775, 98389, 7, and 66 are palindromes, but 552, 35, and 86867 are not palindromes.\n\nGiven a number $n$, fig...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $ be the target number, and $ k \\in \\mathbb{Z}^+ $ be the number of closest palindromes to find. \nLet $ \\mathcal{P} \\subset \\mathbb{Z}^+ $ be the set of all...",
"is_translate": false,
"language": "Formal"
}
]
}