Run ID:115514
提交时间:2025-03-31 14:12:35
#include <iostream> using namespace std; int main() { float h=100; float tot = h; for(int i=1;i<=10;i++) { tot += h; h = h/2; } printf("%.6f %.6f",tot,h); return 0; }