摘要:
#include<iostream> #include<cmath> #define PI 3.14159265 using namespace std; int main(){ int n; double s,x,y,r; int count = 0; scanf("%d",&n); while( 阅读全文
posted @ 2021-11-05 10:06
智人心
阅读(36)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; int main(){ double s,m; for(int i=0;i<12;i++){ scanf("%lf",&m); s += m; } printf("$%.2lf",s/12); return 0; } 阅读全文
posted @ 2021-11-05 09:51
智人心
阅读(30)
评论(0)
推荐(0)
摘要:
#include<iostream> using namespace std; int main(){ double s,n; int i; while(scanf("%lf",&n)==1&&n!=0.00){ s = 0; i = 1; while(s<n){ s+= 1.0/(i+1); i+ 阅读全文
posted @ 2021-11-05 09:44
智人心
阅读(23)
评论(0)
推荐(0)

浙公网安备 33010602011771号