結果

問題 No.53 悪の漸化式
ユーザー convexineqconvexineq
提出日時 2020-12-04 01:06:57
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 84 bytes
コンパイル時間 332 ms
コンパイル使用メモリ 87,272 KB
実行使用メモリ 71,744 KB
最終ジャッジ日時 2023-10-12 12:07:37
合計ジャッジ時間 2,715 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,420 KB
testcase_01 AC 70 ms
71,524 KB
testcase_02 AC 71 ms
71,480 KB
testcase_03 AC 74 ms
71,408 KB
testcase_04 AC 69 ms
71,496 KB
testcase_05 AC 70 ms
71,308 KB
testcase_06 AC 68 ms
71,480 KB
testcase_07 AC 69 ms
71,608 KB
testcase_08 AC 73 ms
71,368 KB
testcase_09 AC 73 ms
71,552 KB
testcase_10 AC 70 ms
71,408 KB
testcase_11 AC 69 ms
71,440 KB
testcase_12 AC 70 ms
71,364 KB
testcase_13 AC 68 ms
71,416 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a,b = 4.0,3.0
for _ in range(n):
    a,b = b,(19*b-12*a)/4
print(a)
0