标签:des style blog color io java strong for 数据
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 43851 Accepted Submission(s):
27105
1 #include<cstdio> 2 #include<cmath> 3 int main() 4 { 5 float m;int n; 6 while(scanf("%f%d",&m,&n)!=EOF) 7 { 8 float s=0; 9 for(int i=1;i<=n;i++) 10 { 11 s=s+m;//81 9 3 1.732 12 m=sqrt(m); 13 } 14 printf("%.2f\n",s); 15 } 16 return 0; 17 }
标签:des style blog color io java strong for 数据
原文地址:http://www.cnblogs.com/The-courage-that-year/p/3991178.html