API Response (JSON)
{
"problem": {
"name": "「WHOI-4」ggcd",
"description": {
"content": "**本题已新增一组样例,请注意查看。** 小 Y 给了你长度为 $n$ 的数组 $y$ 以及一个正整数 $m$,保证 $0\\le y_i<m$,请你构造一个同样长为 $n$ 的数组 $x$,使得: 1. $x_i$ 在 `__int128` 范围内; 2. $x_i\\bmod m=y_i$; 3. $\\gcd(|x_1|,\\cdots,|x_n|)\\bmod m$ 最大。 注意,$x_i$ ",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P5"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP8961"
},
"statements": [
{
"statement_type": "Markdown",
"content": "**本题已新增一组样例,请注意查看。**\n\n小 Y 给了你长度为 $n$ 的数组 $y$ 以及一个正整数 $m$,保证 $0\\le y_i<m$,请你构造一个同样长为 $n$ 的数组 $x$,使得:\n\n1. $x_i$ 在 `__int128` 范围内;\n2. $x_i\\bmod m=y_i$;\n3. $\\gcd(|x_1|,\\cdots,|x_n|)\\bmod m$ 最大。\n\n注意,$x_i$ ...",
"is_translate": false,
"language": "English"
}
]
}