結果

問題 No.786 京都大学の過去問
ユーザー mlihua09mlihua09
提出日時 2020-08-25 23:06:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 93 bytes
コンパイル時間 321 ms
コンパイル使用メモリ 86,944 KB
実行使用メモリ 71,312 KB
最終ジャッジ日時 2023-08-06 08:57:29
合計ジャッジ時間 1,267 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
70,956 KB
testcase_01 AC 71 ms
71,156 KB
testcase_02 AC 71 ms
71,312 KB
testcase_03 AC 69 ms
70,912 KB
testcase_04 AC 69 ms
70,912 KB
権限があれば一括ダウンロードができます

ソースコード

diff #



N = int(input())

x = 1

y = 1

for i in range(N - 1):
    
    x, y = y, x + y


print(y)
0