API Response (JSON)
{
"problem": {
"name": "Water",
"description": {
"content": "有 $n$ 个杯子,每个杯子的容积是 $a$,且初始装有 $b$ 体积水。 你可以进行任意次操作,每次操作选择任意两个杯子,将其中一个杯子内的水**全部倒入**另一个杯子中,但是过程中**杯子里的水不能溢出(即不能超过其容积)**,如果不满足则无法进行该操作。 请通过合法的操作,最大化装有最多水的杯子里水的体积。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P1"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGP10056"
},
"statements": [
{
"statement_type": "Markdown",
"content": "有 $n$ 个杯子,每个杯子的容积是 $a$,且初始装有 $b$ 体积水。\n你可以进行任意次操作,每次操作选择任意两个杯子,将其中一个杯子内的水**全部倒入**另一个杯子中,但是过程中**杯子里的水不能溢出(即不能超过其容积)**,如果不满足则无法进行该操作。\n\n请通过合法的操作,最大化装有最多水的杯子里水的体积。\n\n## Input\n\n一行三个整数,表示 $a,b,n$。\n\n## Output\n...",
"is_translate": false,
"language": "English"
}
]
}