#include<stdio.h>
#include<math.h>
int main()
{
int i,j,m;
float n,result=0;
while(scanf("%f %d",&n,&m)!=EOF)
{
result=0;
for(i=0;i<m;i++)
{
result+=n;
n=sqrt(n);
}
printf("%.2f/n",result);
}
return 0;
}
04-03
03-28
12-18
06-19
01-29
10-30
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交