結果
問題 | No.53 悪の漸化式 |
ユーザー |
![]() |
提出日時 | 2017-02-04 17:29:49 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 250 bytes |
コンパイル時間 | 1,335 ms |
コンパイル使用メモリ | 157,064 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-24 06:16:44 |
合計ジャッジ時間 | 2,114 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define rep(i,n) for(int i=0;i<(n);i++) typedef long long ll; static const int INF = 1e8; int main(void){ int N; cin >> N; double ans = 4 * pow(3.0 / 4.0,N); printf("%.10f\n",ans); return 0; }