0101少儿编程
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
IDE下载
Login
Register
5056: 【29课】【3177】人口增长问题
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:134
Solved:61
Submit
Submit Record
Statistics
ShowOff!
Description
我国现有
x
亿人口,如果按照每年
0.1%
的增长速度,
n
年后将有多少人?
Input
一行,包含两个整数
x
和
n
,分别是人口基数和年数,以单个空格分隔。
1≤x≤100
,
1≤n≤100
。
Output
输出最后的人口数,以亿为单位,保留到小数点后四位。
Sample Input
Copy
13 10
Sample Output
Copy
13.1306
Source/Category
一本通编程启蒙
循环结构
Submit
Submit Record
Statistics
ShowOff!