Run ID:94690
提交时间:2024-10-26 11:05:24
#include<bits/stdc++.h> using namespace std; int main(){ double h=100,s=100; for(int i=1;i<=10;i++){ h = h/2; s = s+2*h; } printf("%.6lf %.6lf",s,h); return 0; }