API Response (JSON)
{
"problem": {
"name": "[NERC 2018] Fractions",
"description": {
"content": "给你一个整数 $n$,你需要构造出若干个形如 $\\dfrac{a_i}{b_i}$ 的真分数,使得 $\\sum^k_{i=1} \\frac{a_i}{b_i} = 1 - \\frac{1}{n}$,且 $b_i$ 可以整除 $n$。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1750,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P5"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP9796"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给你一个整数 $n$,你需要构造出若干个形如 $\\dfrac{a_i}{b_i}$ 的真分数,使得 $\\sum^k_{i=1} \\frac{a_i}{b_i} = 1 - \\frac{1}{n}$,且 $b_i$ 可以整除 $n$。\n\n## Input\n\n一个正整数 $n (2 \\leq n \\leq 10^9)$。\n\n## Output\n\n如果不能构造,输出一行 `NO`。\n\n否则的话就构造出其...",
"is_translate": false,
"language": "English"
}
]
}