1526 imba的小渔人


Submit solution

Points: 100
Time limit: 1.0s
Memory limit: 32M

Problem types
Allowed languages
C, C++, Java, Python

Description

DOTA6.65版出了一个新的英雄小渔人, 他有个技能是每攻击一下窃取对面4点属性增加增加4点敏捷, 每一点敏捷增加当时攻击速度的0.0003%。(4点敏捷就是0.0012%)

现给出小渔人初始攻击速度v,每次攻击可得到的敏捷点数m,攻击次数n, 求n次攻击后小渔人的攻击速度。

Input

输入数据有多组,每组数据给出非负整数v,m,n。(v,m<=100;n<=1000000)

Output

每一行一个答案,输出最终攻击速度,结果保留5位小数。

Sample

Input

9 7 469051

Output

170619.66091

Source: 李广为


Comments

There are no comments at the moment.