結果

問題 No.53 悪の漸化式
ユーザー atn112323
提出日時 2017-01-03 13:34:16
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 163 bytes
コンパイル時間 624 ms
コンパイル使用メモリ 60,304 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-16 06:17:28
合計ジャッジ時間 1,535 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <cmath>
#include <iostream>

using namespace std;

int N;

int main() {
	cin >> N;
	double res = 4.0 * pow(0.75, N);
	printf("%.10f\n", res);
	return 0;
}
0