超市打折
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.
说明
SCZ超市最近在推行一项活动,如果客户购买的商品的总价格是10的倍数,那么可以对这些商品打8折。gaosh想知道,自己买的东西,经过这项活动,他需要付多少钱。
输入格式
一个整数N,表示gaosh买的商品的总价格
输出格式
经过这次活动后,gaosh需要付的钱
样例
50
40
非常好看
- Status
- Done
- Rule
- Ledo
- Problem
- 40
- Start at
- 2025-1-24 16:45
- End at
- 2025-4-18 0:45
- Duration
- 2000 hour(s)
- Host
- Partic.
- 17