Run ID:90806

提交时间:2024-09-16 16:49:03

#include<bits/stdc++.h> using namespace std; int main() { double h=100.0,s=0; for(int i=1;i<=10;i++){ h=h/2; s+=h*2; } printf("%.6lf %.6lf",h,s); return 0; }