結果

問題 No.64 XORフィボナッチ数列
ユーザー TwizzTwizz
提出日時 2017-02-23 12:38:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
MLE  
実行時間 -
コード長 135 bytes
コンパイル時間 102 ms
コンパイル使用メモリ 10,652 KB
実行使用メモリ 794,060 KB
最終ジャッジ日時 2023-08-30 21:21:32
合計ジャッジ時間 7,599 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,860 KB
testcase_01 AC 15 ms
7,748 KB
testcase_02 AC 15 ms
7,936 KB
testcase_03 AC 14 ms
7,756 KB
testcase_04 AC 14 ms
7,808 KB
testcase_05 AC 14 ms
7,888 KB
testcase_06 AC 14 ms
7,788 KB
testcase_07 AC 14 ms
7,800 KB
testcase_08 AC 15 ms
7,800 KB
testcase_09 MLE -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

f0,f1,n=map(int,input().split())
f=[f0,f1]
for i in range(2,n+1):
    f_new=f[i-2]^f[i-1]
    f.append(f_new)
    #print(f)
print(f[n])
0