API Response (JSON)
{
"problem": {
"name": "[SEERC 2020] Mistake",
"description": {
"content": "你有 $k$ 个机器,每个机器都**未按序**存储了 $1 \\sim n$ 共 $n$ 个数,当你启动某个机器时,该机器会将其存储的数最前面的数打印出来,然后删除它。 但是很幸运,你知道 $m$ 对 $(a_i,b_i)$,表示每个存储的 $a_i$ 都在 $b_i$ 前面。 你还知道你依次启动的机器输出了哪些,请对于每个打印的数,确定一种方案表示它是由哪个机器启动得来,保证每个数出现的次数 ",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 3000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P3"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP10748"
},
"statements": [
{
"statement_type": "Markdown",
"content": "你有 $k$ 个机器,每个机器都**未按序**存储了 $1 \\sim n$ 共 $n$ 个数,当你启动某个机器时,该机器会将其存储的数最前面的数打印出来,然后删除它。\n\n但是很幸运,你知道 $m$ 对 $(a_i,b_i)$,表示每个存储的 $a_i$ 都在 $b_i$ 前面。\n\n你还知道你依次启动的机器输出了哪些,请对于每个打印的数,确定一种方案表示它是由哪个机器启动得来,保证每个数出现的次数 ...",
"is_translate": false,
"language": "English"
}
]
}