API Response (JSON)
{
"problem": {
"name": "地球人口承载力估计",
"description": {
"content": "假设地球上的新生资源按恒定速度增长。照此测算,地球上现有资源加上新生资源可供 $x$ 亿人生活 $a$ 年,或供 $y$ 亿人生活 $b$ 年。 为了能够实现可持续发展,避免资源枯竭,地球最多能够养活多少亿人?",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 131072
},
"difficulty": {
"LuoguStyle": "P1"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGB2006"
},
"statements": [
{
"statement_type": "Markdown",
"content": "假设地球上的新生资源按恒定速度增长。照此测算,地球上现有资源加上新生资源可供 $x$ 亿人生活 $a$ 年,或供 $y$ 亿人生活 $b$ 年。\n\n为了能够实现可持续发展,避免资源枯竭,地球最多能够养活多少亿人?\n\n## Input\n\n一行,包括四个正整数 $x, a, y, b$,两个整数之间用单个空格隔开。\n\n## Output\n\n一个实数 $z$,表示地球最多养活 $z$ 亿人,舍入到小数点...",
"is_translate": false,
"language": "English"
}
]
}