結果

問題 No.53 悪の漸化式
ユーザー yuppe19 😺yuppe19 😺
提出日時 2015-05-24 15:43:07
言語 Python2
(2.7.18)
結果
AC  
実行時間 24 ms / 5,000 ms
コード長 133 bytes
コンパイル時間 548 ms
コンパイル使用メモリ 6,648 KB
実行使用メモリ 7,872 KB
最終ジャッジ日時 2023-09-20 11:21:20
合計ジャッジ時間 2,455 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 24 ms
7,848 KB
testcase_01 AC 23 ms
7,620 KB
testcase_02 AC 22 ms
7,664 KB
testcase_03 AC 23 ms
7,852 KB
testcase_04 AC 22 ms
7,684 KB
testcase_05 AC 22 ms
7,664 KB
testcase_06 AC 22 ms
7,808 KB
testcase_07 AC 22 ms
7,732 KB
testcase_08 AC 22 ms
7,840 KB
testcase_09 AC 22 ms
7,668 KB
testcase_10 AC 22 ms
7,836 KB
testcase_11 AC 23 ms
7,644 KB
testcase_12 AC 23 ms
7,848 KB
testcase_13 AC 22 ms
7,624 KB
testcase_14 AC 22 ms
7,684 KB
testcase_15 AC 22 ms
7,852 KB
testcase_16 AC 22 ms
7,680 KB
testcase_17 AC 22 ms
7,872 KB
testcase_18 AC 22 ms
7,732 KB
testcase_19 AC 22 ms
7,672 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/python
from fractions import Fraction
n = int(raw_input())
an = 4 * Fraction('3/4') ** n
print '{:.15f}'.format(float(an))
0