API Response (JSON)
{
"problem": {
"name": "计算邮资",
"description": {
"content": "请根据邮件的重量和用户选择是否加急计算邮费。计算规则: - 重量在 $1000$ 以内(包括),基本费 $8$ 元; - 超过 $1000$ 克的部分,每 $500$ 克加收超重费 $4$ 元,不足 $500$ 克部分按 $500$ 克计算; - 如果用户选择加急,多收 $5$ 元。",
"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": "LGB2048"
},
"statements": [
{
"statement_type": "Markdown",
"content": "请根据邮件的重量和用户选择是否加急计算邮费。计算规则:\n\n- 重量在 $1000$ 以内(包括),基本费 $8$ 元;\n\n- 超过 $1000$ 克的部分,每 $500$ 克加收超重费 $4$ 元,不足 $500$ 克部分按 $500$ 克计算;\n\n- 如果用户选择加急,多收 $5$ 元。\n\n## Input\n\n一行,包含一个正整数 $x$ 和一个字符 c(`y` 或 `n`),之间用一个空格隔开...",
"is_translate": false,
"language": "English"
}
]
}