API Response (JSON)
{
"problem": {
"name": "[ROIR 2023] 地铁建设 (Day 2)",
"description": {
"content": "最少需要提供多大的电压(电压需要是整数),才能使所有发动机的总功率大于或等于 $p$?",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P2"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP10098"
},
"statements": [
{
"statement_type": "Markdown",
"content": "最少需要提供多大的电压(电压需要是整数),才能使所有发动机的总功率大于或等于 $p$?\n\n## Input\n\n第一行输入两个整数 $n$ 和 $p$。\n\n接下来的 $n$ 行,每行包含三个整数 $z_i,a_i,b_i$。\n\n## Output\n\n输出一个整数表示最小电压。\n\n[samples]\n\n## Background\n\n翻译自 [ROIR 2023 D2T1](https://neerc....",
"is_translate": false,
"language": "English"
}
]
}