API Response (JSON)
{
"problem": {
"name": "C. Make a Square",
"description": {
"content": "You are given a positive integer $n$, written without leading zeroes (for example, the number _04_ is incorrect). In one operation you can delete any digit of the given integer so that the result rem",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF962C"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a positive integer $n$, written without leading zeroes (for example, the number _04_ is incorrect).\n\nIn one operation you can delete any digit of the given integer so that the result rem...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "给你一个正整数 $n$,其十进制表示中不包含前导零(例如,数字 _04_ 是无效的)。 \n\n在一次操作中,你可以删除该整数的任意一位数字,使得结果仍为一个不含前导零的正整数。\n\n请确定最少需要多少次操作,才能通过连续删除数字,使 $n$ 变为某个正整数的平方;若不可能,则报告不可能。\n\n一个整数 $x$ 是某个正整数的平方,当且仅当存在正整数 $y$ 使得 $x = y^2$。\n\n第一行包含一个整...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z}^+ $ be the input integer, represented as a string of digits $ d_1 d_2 \\dots d_k $ with $ k = \\lfloor \\log_{10} n \\rfloor + 1 $, $ d_1 \\neq 0 $, and no leading ...",
"is_translate": false,
"language": "Formal"
}
]
}