結果

問題 No.64 XORフィボナッチ数列
ユーザー syunsukesyunsuke
提出日時 2020-11-01 15:11:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 69 ms / 5,000 ms
コード長 80 bytes
コンパイル時間 278 ms
コンパイル使用メモリ 87,056 KB
実行使用メモリ 71,572 KB
最終ジャッジ日時 2023-09-29 11:16:23
合計ジャッジ時間 2,114 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,420 KB
testcase_01 AC 68 ms
71,260 KB
testcase_02 AC 68 ms
71,400 KB
testcase_03 AC 68 ms
71,204 KB
testcase_04 AC 69 ms
71,328 KB
testcase_05 AC 68 ms
71,420 KB
testcase_06 AC 68 ms
71,144 KB
testcase_07 AC 67 ms
71,296 KB
testcase_08 AC 67 ms
71,452 KB
testcase_09 AC 67 ms
71,572 KB
testcase_10 AC 68 ms
71,256 KB
testcase_11 AC 68 ms
71,288 KB
testcase_12 AC 69 ms
71,404 KB
testcase_13 AC 68 ms
71,324 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,N=map(int,input().split())
F=[A,B]

F.append(F[-1]^F[-2])

N%=3
print(F[N])
0