SCU's Bath House
该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
#描述#
Everyone in Sichuan University must done one thing, that is going to the famous bathhouse and bathing. If you have not done it before, you must be a superman. And Dahema will not play with you.<br>
Everyone knows that if you bath no more than 10 minutes, it costs only 1 RMB. If you bath exceed 10 minutes, just 0.15 RMB per minutes for the excess minutes.<br>
If you bath for N minutes, how much you must pay for it?<br>
#格式#
##输入格式##
The first line of input is the number of test case. For each test case: there is only one line contains only one integer N(1<=N<=60)
##输出格式##
For each test case output the answer on a single line. The result should be rounded to two decimal places.
#样例1#
##样例输入1##
3
10
11
1
##样例输出1##
1.00
1.15
1.00
#限制#
1000ms
32768KB
#提示#
#来源#
2010亚洲预赛四川赛区热身题
2024_2025(1)C0023实验2+李强老师班级
- 状态
- 已结束
- 规则
- ACM/ICPC
- 题目
- 9
- 开始于
- 2024-10-10 08:00
- 结束于
- 2024-10-17 08:00
- 持续时间
- 168.0 小时
- 主持人
- 参赛人数
- 47