結果

問題 No.64 XORフィボナッチ数列
ユーザー matsu7874matsu7874
提出日時 2014-11-27 22:25:02
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
MLE  
実行時間 -
コード長 122 bytes
コンパイル時間 529 ms
コンパイル使用メモリ 10,532 KB
実行使用メモリ 804,172 KB
最終ジャッジ日時 2023-09-01 22:22:37
合計ジャッジ時間 7,621 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,856 KB
testcase_01 AC 16 ms
7,892 KB
testcase_02 AC 16 ms
7,780 KB
testcase_03 AC 15 ms
7,784 KB
testcase_04 AC 15 ms
7,812 KB
testcase_05 AC 15 ms
7,852 KB
testcase_06 AC 16 ms
7,800 KB
testcase_07 AC 16 ms
7,784 KB
testcase_08 AC 16 ms
7,804 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.append(F[i-2] ^ F[i-1])
print(F[N])
0