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