結果

問題 No.53 悪の漸化式
ユーザー KudeKude
提出日時 2020-09-07 01:52:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 193 ms / 5,000 ms
コード長 125 bytes
コンパイル時間 399 ms
コンパイル使用メモリ 86,868 KB
実行使用メモリ 88,912 KB
最終ジャッジ日時 2023-08-19 14:37:35
合計ジャッジ時間 5,541 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 183 ms
88,776 KB
testcase_01 AC 186 ms
88,468 KB
testcase_02 AC 180 ms
88,660 KB
testcase_03 AC 180 ms
88,688 KB
testcase_04 AC 183 ms
88,788 KB
testcase_05 AC 184 ms
88,524 KB
testcase_06 AC 179 ms
88,812 KB
testcase_07 AC 184 ms
88,880 KB
testcase_08 AC 179 ms
88,764 KB
testcase_09 AC 181 ms
88,868 KB
testcase_10 AC 179 ms
88,884 KB
testcase_11 AC 181 ms
88,788 KB
testcase_12 AC 188 ms
88,860 KB
testcase_13 AC 188 ms
88,472 KB
testcase_14 AC 193 ms
88,696 KB
testcase_15 AC 179 ms
88,692 KB
testcase_16 AC 184 ms
88,892 KB
testcase_17 AC 180 ms
88,668 KB
testcase_18 AC 182 ms
88,772 KB
testcase_19 AC 182 ms
88,912 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import Decimal
n = int(input())
an = 4.0
for _ in range(n):
    an *= 3
    an /= 4
print('{0:.10f}'.format(an))
0