4 4 80 183 5000 18 10 824 5000000000
3 2 0 1421 For the first test case, there are three values of $x$ that satisfy the conditions: $x = 5, 37, 80$. * When $x=5$, $f(C, C+5) = f(4,9) = 49 = 7^2$ * When $x=37$, $f(C, C+37) = f(4,41) = 441 = 21^2$ * When $x=80$, $f(C, C+80) = f(4,84) = 484 = 22^2$ For the second test case, there are two values of $x$ that satisfy the conditions: $x = 1, 3133$. * When $x=1$, $f(C, C+1) = f(183,184) = 183184 = 428^2$ * When $x=3133$, $f(C, C+3133) = f(183,3316) = 1833316 = 1354^2$ For the third test case, there are zero values of $x$ that satisfy the conditions. For the fourth test case, there are $1421$ values of $x$ that satisfy the conditions.
{
"problem": {
"name": "183184",
"description": {
"content": "For positive integers $x$ and $y$, define $f(x,y)$ as follows: * Let $z$ be the string obtained by interpreting $x,y$ in decimal notation as strings and concatenating them in this order. Let $f(x,y",
"description_type": "Markdown"
},
"platform": "AtCoder",
"limit": {
"time_limit": 2500,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "abc428_d"
},
"statements": [
{
"statement_type": "Markdown",
"content": "For positive integers $x$ and $y$, define $f(x,y)$ as follows:\n\n* Let $z$ be the string obtained by interpreting $x,y$ in decimal notation as strings and concatenating them in this order. Let $f(x,y...",
"is_translate": false,
"language": "English"
}
]
}