結果

問題 No.64 XORフィボナッチ数列
ユーザー c-yanc-yan
提出日時 2020-10-04 01:35:40
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 122 bytes
コンパイル時間 255 ms
コンパイル使用メモリ 10,664 KB
実行使用メモリ 12,456 KB
最終ジャッジ日時 2023-09-25 14:29:28
合計ジャッジ時間 7,155 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,936 KB
testcase_01 WA -
testcase_02 AC 15 ms
7,772 KB
testcase_03 WA -
testcase_04 AC 15 ms
7,944 KB
testcase_05 AC 15 ms
7,828 KB
testcase_06 AC 15 ms
7,840 KB
testcase_07 AC 15 ms
7,896 KB
testcase_08 AC 15 ms
7,816 KB
testcase_09 TLE -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

F0, F1, N = map(int, input().split())

a, b = F0, F1
for i in range(2, N + 1):
    t = b ^ a
    a = b
    b = t
print(b)
0