0w1

Yuki 53 悪の漸化式 ( 特性方程式, 精度, Math )

No.53 悪の漸化式 - yukicoder
高校数学は忘れないでおきましょう
yukicoder No.53 - 悪の漸化式(writer担当) - ゲームにっき(仮)別館(仮)

#include <bits/stdc++.h>
using namespace std;

signed main(){
  int N; cin >> N;
  cout << fixed << setprecision( 10 ) << 4.0 * pow( 0.75, N ) << endl;
  return 0;
}