API Response (JSON)
{
"problem": {
"name": "E. Squares and not squares",
"description": {
"content": "Ann and Borya have _n_ piles with candies and _n_ is even number. There are _a__i_ candies in pile with number _i_. Ann likes numbers which are square of some integer and Borya doesn't like numbers w",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF898E"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Ann and Borya have _n_ piles with candies and _n_ is even number. There are _a__i_ candies in pile with number _i_.\n\nAnn likes numbers which are square of some integer and Borya doesn't like numbers w...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Ann 和 Borya 有 #cf_span[n] 堆糖果,且 #cf_span[n] 是偶数。第 #cf_span[i] 堆中有 #cf_span[ai] 颗糖果。\n\nAnn 喜欢是某个整数平方的数,而 Borya 不喜欢是任何整数平方的数。在一次操作中,两人可以选择一堆糖果,向其中添加一颗糖果(这颗糖果是新的,不属于其他堆)或从中移除一颗糖果(前提是该堆至少有一颗糖果)。\n\n求出最少需要多少次...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $ be an even integer, $ 2 \\leq n \\leq 200{,}000 $. \nLet $ A = (a_1, a_2, \\dots, a_n) $, where $ a_i \\in \\mathbb{Z}_{\\geq 0} $, denote the number of candies in...",
"is_translate": false,
"language": "Formal"
}
]
}