4405: 快递费用(python)
Memory Limit:128 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:63
Solved:21
Description
已知某快递1kg及以下收费4.8元,超出1kg,那么超过部分每公斤多收0.8元,不足1公斤按1公斤算,班长需要快递重量为n公斤的奖品,请帮他快速计算价格(结果保留两位小数)。
Input
输入快递的重量(单位为kg)
Output
输出快递价格费用
Sample Input Copy
1.5
Sample Output Copy
5.60