#6076. 练29.1 人口增长问题
练29.1 人口增长问题
Description
我国现有 亿人口,如果按照每年 的增长速度, 年后将有多少人?
Input Format
一行,包含两个整数 和 ,分别是人口基数和年数,以单个空格分隔。,。
Output Format
输出最后的人口数,以亿为单位,保留到小数点后四位。
13 10
13.1306
我国现有 x 亿人口,如果按照每年 0.1 的增长速度,n 年后将有多少人?
一行,包含两个整数 x 和 n,分别是人口基数和年数,以单个空格分隔。1≤x≤100,1≤n≤100。
输出最后的人口数,以亿为单位,保留到小数点后四位。
13 10
13.1306
By signing up a 津桥OJ universal account, you can submit code and join discussions in all online judging services provided by us.