結果

問題 No.53 悪の漸化式
ユーザー snukesnuke
提出日時 2014-10-30 23:30:41
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 111 bytes
コンパイル時間 521 ms
コンパイル使用メモリ 7,080 KB
実行使用メモリ 6,156 KB
最終ジャッジ日時 2023-08-28 23:30:41
合計ジャッジ時間 2,094 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
6,096 KB
testcase_01 AC 11 ms
6,136 KB
testcase_02 AC 10 ms
6,036 KB
testcase_03 AC 11 ms
5,992 KB
testcase_04 AC 11 ms
6,124 KB
testcase_05 AC 11 ms
6,064 KB
testcase_06 AC 11 ms
5,964 KB
testcase_07 AC 11 ms
5,972 KB
testcase_08 AC 10 ms
6,100 KB
testcase_09 AC 10 ms
5,968 KB
testcase_10 AC 11 ms
6,132 KB
testcase_11 AC 10 ms
6,036 KB
testcase_12 AC 10 ms
6,092 KB
testcase_13 AC 11 ms
6,036 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n = input()
a = 4.0
b = 3.0
for i in xrange(n):
	b,a = (a,b)
	b = (19.0*a-12.0*b)/4.0
print "%.10f" % a
0