#include <iostream> using namespace std; // double f1(double init ,int cnt){ // if(cnt == 0 ) return 0; // if(cnt == 1) return init * 1.5; // else return f1(init/2,cnt-1) + init * 1.5; // } // double f2(double init ,int cnt){ // if(cnt == 0 ) return init; // else return f2(init/2,cnt-1); // } ...