結果

問題 No.64 XORフィボナッチ数列
ユーザー brthyyjpbrthyyjp
提出日時 2020-08-31 10:46:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 5,000 ms
コード長 73 bytes
コンパイル時間 253 ms
コンパイル使用メモリ 82,196 KB
実行使用メモリ 53,224 KB
最終ジャッジ日時 2024-04-27 15:03:48
合計ジャッジ時間 1,665 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,224 KB
testcase_01 AC 42 ms
52,144 KB
testcase_02 AC 40 ms
52,808 KB
testcase_03 AC 39 ms
52,072 KB
testcase_04 AC 39 ms
52,556 KB
testcase_05 AC 38 ms
52,152 KB
testcase_06 AC 39 ms
52,164 KB
testcase_07 AC 41 ms
52,136 KB
testcase_08 AC 38 ms
52,636 KB
testcase_09 AC 39 ms
53,016 KB
testcase_10 AC 38 ms
52,612 KB
testcase_11 AC 38 ms
52,684 KB
testcase_12 AC 37 ms
52,976 KB
testcase_13 AC 38 ms
52,460 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

f0, f1, n = map(int, input().split())

F = [f0, f1, f0^f1]
print(F[n%3])
0