#include <iostream>
#include <math.h>
#include <iomanip>
using namespace std;
int main()
{
double m,n;
double total=0;
cin>>m>>n;
while(n--)
{
total=total+m;
m=sqrt(m);
}
cout<<fixed<<setprecision(2)<<total<<endl;
return 0;
}
GKM的复试acm练习2009
最新推荐文章于 2019-08-20 10:18:46 发布