3391: [初级] 飞船燃料

Memory Limit:128 MB Time Limit:1.000 S
Submit数:1 Solved数:1

Description

 年,小 lns="http://www.w3.org/1998/Math/MathML">A 驾驶着神州 lns="http://www.w3.org/1998/Math/MathML">1000 号飞船漫游星际,当小 lns="http://www.w3.org/1998/Math/MathML">A 飞抵火星时,燃料耗尽。

火星的燃料今天的价格是 lns="http://www.w3.org/1998/Math/MathML">X 元/桶,每桶燃料 lns="http://www.w3.org/1998/Math/MathML">Y 升,lns="http://www.w3.org/1998/Math/MathML">1 桶起卖。

小 lns="http://www.w3.org/1998/Math/MathML">A 的飞船,预计要添加 lns="http://www.w3.org/1998/Math/MathML">Z 升的燃料,请问小 lns="http://www.w3.org/1998/Math/MathML">A 需要支付多少钱?

Input描述

输入 lns="http://www.w3.org/1998/Math/MathML">3 个整数 lns="http://www.w3.org/1998/Math/MathML">Xlns="http://www.w3.org/1998/Math/MathML">Ylns="http://www.w3.org/1998/Math/MathML">Z,含义如题所述;

Output描述

输出 lns="http://www.w3.org/1998/Math/MathML">1 个整数,代表小 lns="http://www.w3.org/1998/Math/MathML">A 同学最少要支付的费用。

Sample Input Copy

5 10 25

Sample Output Copy

15

Source/Category

Problem :   3391        Language:        




    # 输入数据自测: