API Response (JSON)
{
"problem": {
"name": "C. Mike and gcd problem",
"description": {
"content": "Mike has a sequence _A_ = \\[_a_1, _a_2, ..., _a__n_\\] of length _n_. He considers the sequence _B_ = \\[_b_1, _b_2, ..., _b__n_\\] beautiful if the _gcd_ of all its elements is bigger than 1, i.e. . Mi",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF798C"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Mike has a sequence _A_ = \\[_a_1, _a_2, ..., _a__n_\\] of length _n_. He considers the sequence _B_ = \\[_b_1, _b_2, ..., _b__n_\\] beautiful if the _gcd_ of all its elements is bigger than 1, i.e. .\n\nMi...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Mike 有一个长度为 $n$ 的序列 $A = [a_1, a_2, ..., a_n]$。他定义序列 $B = [b_1, b_2, ..., b_n]$ 是美丽的,当且仅当它的所有元素的 $\\gcd$ 大于 $1$,即 $\\gcd(b_1, b_2, ..., b_n) > 1$。\n\nMike 希望通过操作将他的序列变为美丽的。在一次操作中,他可以选择一个索引 $i$($1 \\leq i <...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $, $ n \\geq 2 $, be the length of sequence $ A = (a_1, a_2, \\dots, a_n) $, where $ a_i \\in \\mathbb{Z} $ and $ 1 \\leq a_i \\leq 10^9 $. \nA sequence $ B = (b_1, ...",
"is_translate": false,
"language": "Formal"
}
]
}