API Response (JSON)
{
"problem": {
"name": "[CCC 2021 S5] Math Homework",
"description": {
"content": "构造一个长度为 $N$ 的整数序列 $A$,使得: 1. $\\forall i=1,2,\\cdots,N,1\\leq A_i\\leq 10^9$; 2. $\\forall i=1,2,\\cdots,M,\\gcd(A_{X_i},A_{X_i+1},\\cdots,A_{Y_i})=Z_i$。 或者报告无解。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 500,
"memory_limit": 131072
},
"difficulty": {
"LuoguStyle": "P4"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP9027"
},
"statements": [
{
"statement_type": "Markdown",
"content": "构造一个长度为 $N$ 的整数序列 $A$,使得:\n\n1. $\\forall i=1,2,\\cdots,N,1\\leq A_i\\leq 10^9$;\n2. $\\forall i=1,2,\\cdots,M,\\gcd(A_{X_i},A_{X_i+1},\\cdots,A_{Y_i})=Z_i$。\n\n或者报告无解。\n\n## Input\n\n第一行,$N,M$。\n\n接下来 $M$ 行,每行有 $X_i,Y_...",
"is_translate": false,
"language": "English"
}
]
}