結果

問題 No.44 DPなすごろく
ユーザー shobonvipshobonvip
提出日時 2022-03-12 14:38:44
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 5,000 ms
コード長 75 bytes
コンパイル時間 156 ms
コンパイル使用メモリ 82,360 KB
実行使用メモリ 53,688 KB
最終ジャッジ日時 2024-09-16 21:17:18
合計ジャッジ時間 1,876 ms
ジャッジサーバーID
(参考情報)
judge3 / judge6
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
52,432 KB
testcase_01 AC 32 ms
52,276 KB
testcase_02 AC 32 ms
52,416 KB
testcase_03 AC 31 ms
52,884 KB
testcase_04 AC 31 ms
52,860 KB
testcase_05 AC 32 ms
53,688 KB
testcase_06 AC 31 ms
52,440 KB
testcase_07 AC 33 ms
52,596 KB
testcase_08 AC 33 ms
53,072 KB
testcase_09 AC 38 ms
52,284 KB
testcase_10 AC 31 ms
52,672 KB
testcase_11 AC 30 ms
53,420 KB
testcase_12 AC 30 ms
52,212 KB
testcase_13 AC 30 ms
52,272 KB
testcase_14 AC 31 ms
52,464 KB
testcase_15 AC 30 ms
52,508 KB
testcase_16 AC 30 ms
51,940 KB
testcase_17 AC 29 ms
52,736 KB
testcase_18 AC 30 ms
53,036 KB
testcase_19 AC 32 ms
52,460 KB
testcase_20 AC 32 ms
52,608 KB
testcase_21 AC 31 ms
53,324 KB
testcase_22 AC 31 ms
52,692 KB
testcase_23 AC 31 ms
52,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

f=[0,1]
for i in range(50):
	f.append(f[-1]+f[-2])
print(f[int(input())+1])
0