HUSTOJ
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
关于注册
Login
Register
1246: 运费
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:214
Solved:133
Submit
Submit Record
Statistics
Web Board
ShowOff!
Description
某航空公司规定行李重量在 $20$ 公斤以内(包含 $20$)按照每公斤 $10$ 元收取费用,超过 $20$ 公斤的部分按照每公斤 $15$ 元收取费用。
给定 $n$ 公斤行李,请问托运行李费用是多少?
Input
一行,包含一个正整数 $n$,表示行李重量。
Output
输出托运行李的费用。
Sample Input
Copy
10
Sample Output
Copy
100
HINT
数据范围:
$5\le n \le 200$。
Source/Category
蓝桥杯
分支