游客 Signup | Login
中文 | En

3233 - 习题3-1 计算国民生产总值增长倍数

通过次数

0

提交次数

0

Time Limit : 1 秒 Memory Limit : 128 MB

假如我国国民生产总值的年增长率为9%,计算10年后我国国民生产总值与现在相比增长多少百分比(倍数)。计算公式为p=(1+r)n

其中:r为年增长率,n为年数,p为与现在相比的倍数

对于求an, C语言的数学库函数中有求指数的函数pow(a, n)

Input

无,增长率与年数以赋值的方式给出

Output

p=增长倍数,注意末尾的换行

Examples

Input Format

Output Format

p=2.367364