I. 练21.5 打车费用
练21.5 打车费用
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
周末,格莱尔和爸爸打车到游乐园玩。打车计价方案为:千米以内起步是元;超过千米的部分按元/千米计价;超过千米的部分在元/千米的基础上加价%。此外,停车等候则按时间计费:每分钟加收元(注:不满分钟不计费)。
输入格式
个整数,分别表示行车路程和停车时间。
输出格式
个数,表示费用。若为实数,请输出到小数点后一位;若为整数,则不需要输出小数部分。
样例
1 3
7
2025年夏令营新人班【查】3
- Status
- Done
- Problem
- 81
- Open Since
- 2025-7-7 0:00
- Deadline
- 2025-8-22 23:59
- Extension
- 24 hour(s)