1 #include<stdio.h>
 2 #include<math.h>
 3 int main()
 4 {
 5     int i,n;
 6     double x,s;
 7     while(scanf("%lf%d",&x,&n)!=EOF)
 8     {
 9         for(s=0.0;n--;x=sqrt(x))
10           s+=x;
11           printf("%.2lf\n",s);
12     }
13     return 0;
14 } 

相关文章:

  • 2021-10-06
  • 2021-08-30
  • 2022-01-02
  • 2021-10-16
  • 2021-11-28
  • 2021-11-10
猜你喜欢
  • 2022-02-05
  • 2021-12-20
  • 2021-09-11
  • 2021-06-16
  • 2021-05-29
  • 2022-12-23
相关资源
相似解决方案