#P2365. 【入门】银行存款问题

【入门】银行存款问题

Description

亮亮把 n 元按照 m 年期整存存入银行,按照目前银行的年利率,请问到期后亮亮可以连本带息总共拿到多少钱? ![银行利润.png](/api/public/img/619eb4c7d8e641cdb6e3ad64638676f2.png)

Input Format

两个整数 n 和 m

Output Format

一个小数,代表亮亮m年后一共可以拿到的金额(保留1位小数)
1000 5
1237.5

Source

分支问题