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